Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern give the outside world some idea o...



details:   https://anonhg.NetBSD.org/src/rev/27386367a1bc
branches:  trunk
changeset: 760508:27386367a1bc
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Jan 06 13:09:17 2011 +0000

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

diffstat:

 sys/rump/librump/rumpkern/rump.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r a0d84112f376 -r 27386367a1bc sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Thu Jan 06 13:03:47 2011 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Thu Jan 06 13:09:17 2011 +0000
@@ -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)
 {



Home | Main Index | Thread Index | Old Index