diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1997-04-01 10:18:51 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1997-04-01 10:18:51 +0000 |
| commit | 6898627ce2a7b697125f4bc21c3b35b3b7258c06 (patch) | |
| tree | c017b1462b394e08fa8092f539e3df1b70d35876 /sys/kern/kern_lock.c | |
| parent | ac2e2624deb78b59ac1172b0bad951814dce32dd (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_lock.c')
| -rw-r--r-- | sys/kern/kern_lock.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index 6ded6cca5ca0..69510b3ff0df 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -35,14 +35,13 @@ * SUCH DAMAGE. * * @(#)kern_lock.c 8.18 (Berkeley) 5/21/95 - * $Id$ + * $Id: kern_lock.c,v 1.5 1997/03/25 17:11:30 peter Exp $ */ #include <sys/param.h> #include <sys/proc.h> #include <sys/lock.h> #include <sys/systm.h> -#include <machine/cpu.h> /* * Locking primitives implementation. @@ -446,11 +445,13 @@ lockmgr_printinfo(lkp) #if defined(SIMPLELOCK_DEBUG) && NCPUS == 1 #include <sys/kernel.h> -#include <vm/vm.h> #include <sys/sysctl.h> -int lockpausetime = 0; -/* struct ctldebug debug2 = { "lockpausetime", &lockpausetime }; */ + +static int lockpausetime = 0; +SYSCTL_INT(_debug, OID_AUTO, lockpausetime, CTLFLAG_RW, &lockpausetime, 0, ""); + int simplelockrecurse; + /* * Simple lock functions so that the debugger can see from whence * they are being called. |
