diff options
author | nyan <nyan@FreeBSD.org> | 2001-04-01 06:40:45 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2001-04-01 06:40:45 +0000 |
commit | d749003ed1d7cf018d5e40fb5e90f5917098c0dd (patch) | |
tree | 7471a2ec6e8ad0982f27876e5ccca6b12451ca23 /sys/pc98/i386 | |
parent | c69012d9c4ec037b4f96383fb5ff854cc4e757ce (diff) | |
download | FreeBSD-src-d749003ed1d7cf018d5e40fb5e90f5917098c0dd.zip FreeBSD-src-d749003ed1d7cf018d5e40fb5e90f5917098c0dd.tar.gz |
Merged from sys/i386/i386/machdep.c revision 1.446.
Diffstat (limited to 'sys/pc98/i386')
-rw-r--r-- | sys/pc98/i386/machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 82e4b64..1068954 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -59,6 +59,7 @@ #include <sys/kernel.h> #include <sys/ktr.h> #include <sys/linker.h> +#include <sys/lock.h> #include <sys/malloc.h> #include <sys/mutex.h> #include <sys/proc.h> @@ -2204,8 +2205,8 @@ init386(first) /* setup curproc so that mutexes work */ PCPU_SET(curproc, &proc0); + PCPU_SET(spinlocks, NULL); - LIST_INIT(&proc0.p_heldmtx); LIST_INIT(&proc0.p_contested); mtx_init(&sched_lock, "sched lock", MTX_SPIN | MTX_RECURSE); |