summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2007-05-11 10:06:57 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2007-05-11 10:06:57 +0000
commitebfc5f745f41b3eba34dc6307aab7d5aa969f2ed (patch)
treef2e985dd112ef2955df413538b1f5bf30eb4e434 /sys/kern
parentcdb3ab5492ffd4d895cfd28b9d5f5839ea201ce4 (diff)
Don't use LK_CANRECURSE for the kernel lock, okay miod@ art@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_lock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index 3fc779e71b7..350977aff2f 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_lock.c,v 1.28 2007/05/08 20:25:56 deraadt Exp $ */
+/* $OpenBSD: kern_lock.c,v 1.29 2007/05/11 10:06:56 pedro Exp $ */
/*
* Copyright (c) 1995
@@ -801,9 +801,8 @@ _kernel_lock_init(void)
* and the lower half of the kernel.
*/
-/* XXX The flag should go, all callers want equal behaviour. */
void
-_kernel_lock(int flag)
+_kernel_lock(void)
{
SCHED_ASSERT_UNLOCKED();
__mp_lock(&kernel_lock);