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 Fix build with RUMP_LOCKDEBUG=yes



details:   https://anonhg.NetBSD.org/src/rev/5f03dce58d44
branches:  trunk
changeset: 343067:5f03dce58d44
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Fri Jan 22 04:26:01 2016 +0000

description:
Fix build with RUMP_LOCKDEBUG=yes

diffstat:

 sys/rump/librump/rumpkern/emul.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r e8c793b45172 -r 5f03dce58d44 sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c  Fri Jan 22 03:38:57 2016 +0000
+++ b/sys/rump/librump/rumpkern/emul.c  Fri Jan 22 04:26:01 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emul.c,v 1.177 2016/01/18 23:27:20 pooka Exp $ */
+/*     $NetBSD: emul.c,v 1.178 2016/01/22 04:26:01 ozaki-r Exp $       */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.177 2016/01/18 23:27:20 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.178 2016/01/22 04:26:01 ozaki-r Exp $");
 
 #include <sys/param.h>
 #include <sys/cprng.h>
@@ -35,6 +35,9 @@
 #include <sys/module.h>
 #include <sys/reboot.h>
 #include <sys/syscall.h>
+#ifdef LOCKDEBUG
+#include <sys/sleepq.h>
+#endif
 
 #include <dev/cons.h>
 



Home | Main Index | Thread Index | Old Index