Module Name:    src
Committed By:   pooka
Date:           Thu Jan  6 13:09:17 UTC 2011

Modified Files:
        src/sys/rump/librump/rumpkern: rump.c

Log Message:
give the outside world some idea of if we have LOCKDEBUG or not


To generate a diff of this commit:
cvs rdiff -u -r1.216 -r1.217 src/sys/rump/librump/rumpkern/rump.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/rump/librump/rumpkern/rump.c
diff -u src/sys/rump/librump/rumpkern/rump.c:1.216 src/sys/rump/librump/rumpkern/rump.c:1.217
--- src/sys/rump/librump/rumpkern/rump.c:1.216	Thu Jan  6 11:22:55 2011
+++ src/sys/rump/librump/rumpkern/rump.c	Thu Jan  6 13:09:17 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump.c,v 1.216 2011/01/06 11:22:55 pooka Exp $	*/
+/*	$NetBSD: rump.c,v 1.217 2011/01/06 13:09:17 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.216 2011/01/06 11:22:55 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.217 2011/01/06 13:09:17 pooka Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -104,6 +104,12 @@
 
 static char rump_msgbuf[16*1024]; /* 16k should be enough for std rump needs */
 
+#ifdef LOCKDEBUG
+const int rump_lockdebug = 1;
+#else
+const int rump_lockdebug = 0;
+#endif
+
 static void
 rump_aiodone_worker(struct work *wk, void *dummy)
 {

Reply via email to