diff options
author | 2011-07-06 21:41:37 +0000 | |
---|---|---|
committer | 2011-07-06 21:41:37 +0000 | |
commit | 971e1bb644cc0d78fb53db085bc59be6450a74f1 (patch) | |
tree | e2988b45a31f25123d024255c4d969d752a2127f /sys/kern/kern_fork.c | |
parent | sync (diff) | |
download | wireguard-openbsd-971e1bb644cc0d78fb53db085bc59be6450a74f1.tar.xz wireguard-openbsd-971e1bb644cc0d78fb53db085bc59be6450a74f1.zip |
Clean up after P_BIGLOCK removal.
KERNEL_PROC_LOCK -> KERNEL_LOCK
KERNEL_PROC_UNLOCK -> KERNEL_UNLOCK
oga@ ok
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r-- | sys/kern/kern_fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index ebdc5a53a24..41b5332768d 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_fork.c,v 1.126 2011/06/06 17:05:46 deraadt Exp $ */ +/* $OpenBSD: kern_fork.c,v 1.127 2011/07/06 21:41:37 art Exp $ */ /* $NetBSD: kern_fork.c,v 1.29 1996/02/09 18:59:34 christos Exp $ */ /* @@ -528,6 +528,6 @@ proc_trampoline_mp(void) SCHED_ASSERT_UNLOCKED(); KASSERT(__mp_lock_held(&kernel_lock) == 0); - KERNEL_PROC_LOCK(p); + KERNEL_LOCK(); } #endif |