Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Add _KERNEL_OPT
details: https://anonhg.NetBSD.org/src/rev/3ed3ad3a95cb
branches: trunk
changeset: 340749:3ed3ad3a95cb
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Sep 29 01:44:57 2015 +0000
description:
Add _KERNEL_OPT
It's needed for nbmake RUMP_LOCKDEBUG=yes.
diffstat:
sys/kern/subr_lockdebug.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r b1c073a7d30b -r 3ed3ad3a95cb sys/kern/subr_lockdebug.c
--- a/sys/kern/subr_lockdebug.c Mon Sep 28 22:11:40 2015 +0000
+++ b/sys/kern/subr_lockdebug.c Tue Sep 29 01:44:57 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_lockdebug.c,v 1.53 2015/04/15 14:41:17 riastradh Exp $ */
+/* $NetBSD: subr_lockdebug.c,v 1.54 2015/09/29 01:44:57 ozaki-r Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -34,9 +34,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_lockdebug.c,v 1.53 2015/04/15 14:41:17 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_lockdebug.c,v 1.54 2015/09/29 01:44:57 ozaki-r Exp $");
+#ifdef _KERNEL_OPT
#include "opt_ddb.h"
+#endif
#include <sys/param.h>
#include <sys/proc.h>
Home |
Main Index |
Thread Index |
Old Index