Module Name:    src
Committed By:   ozaki-r
Date:           Tue Sep 29 01:44:57 UTC 2015

Modified Files:
        src/sys/kern: subr_lockdebug.c

Log Message:
Add _KERNEL_OPT

It's needed for nbmake RUMP_LOCKDEBUG=yes.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/kern/subr_lockdebug.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/subr_lockdebug.c
diff -u src/sys/kern/subr_lockdebug.c:1.53 src/sys/kern/subr_lockdebug.c:1.54
--- src/sys/kern/subr_lockdebug.c:1.53	Wed Apr 15 14:41:17 2015
+++ src/sys/kern/subr_lockdebug.c	Tue Sep 29 01:44:57 2015
@@ -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>

Reply via email to