summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
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);