Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern if NUSB == 0, don't look for usbhist.
details: https://anonhg.NetBSD.org/src/rev/12241933c07d
branches: trunk
changeset: 811431:12241933c07d
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Oct 29 18:40:19 2015 +0000
description:
if NUSB == 0, don't look for usbhist.
diffstat:
sys/kern/kern_history.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 25bf5efe8ed8 -r 12241933c07d sys/kern/kern_history.c
--- a/sys/kern/kern_history.c Thu Oct 29 17:57:27 2015 +0000
+++ b/sys/kern/kern_history.c Thu Oct 29 18:40:19 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_history.c,v 1.2 2015/10/29 00:27:08 mrg Exp $ */
+/* $NetBSD: kern_history.c,v 1.3 2015/10/29 18:40:19 mrg Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_history.c,v 1.2 2015/10/29 00:27:08 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_history.c,v 1.3 2015/10/29 18:40:19 mrg Exp $");
#include "opt_kernhist.h"
#include "opt_ddb.h"
@@ -46,6 +46,11 @@
#include <sys/cpu.h>
#include <sys/kernhist.h>
+#include "usb.h"
+#if NUSB == 0
+#undef USB_DEBUG
+#endif
+
#ifdef UVMHIST
#include <uvm/uvm.h>
#endif
Home |
Main Index |
Thread Index |
Old Index