Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern nodebug is only used with LOCKDEBUG



details:   https://anonhg.NetBSD.org/src/rev/a04ed83ce00a
branches:  trunk
changeset: 789980:a04ed83ce00a
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Sep 14 13:18:31 2013 +0000

description:
nodebug is only used with LOCKDEBUG

diffstat:

 sys/kern/kern_condvar.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r b3f6d24c62ed -r a04ed83ce00a sys/kern/kern_condvar.c
--- a/sys/kern/kern_condvar.c   Sat Sep 14 13:18:02 2013 +0000
+++ b/sys/kern/kern_condvar.c   Sat Sep 14 13:18:31 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_condvar.c,v 1.32 2013/03/08 08:36:37 apb Exp $    */
+/*     $NetBSD: kern_condvar.c,v 1.33 2013/09/14 13:18:31 joerg Exp $  */
 
 /*-
  * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_condvar.c,v 1.32 2013/03/08 08:36:37 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_condvar.c,v 1.33 2013/09/14 13:18:31 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -85,7 +85,9 @@
 };
 
 static const char deadcv[] = "deadcv";
+#ifdef LOCKDEBUG
 static const char nodebug[] = "nodebug";
+#endif
 
 /*
  * cv_init:



Home | Main Index | Thread Index | Old Index