diff options
-rw-r--r-- | sys/kern/kern_rwlock.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/kern/kern_rwlock.c b/sys/kern/kern_rwlock.c index 9802a8323b5..81ca064df36 100644 --- a/sys/kern/kern_rwlock.c +++ b/sys/kern/kern_rwlock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_rwlock.c,v 1.14 2009/08/13 21:22:29 blambert Exp $ */ +/* $OpenBSD: kern_rwlock.c,v 1.15 2009/08/13 23:12:15 blambert Exp $ */ /* * Copyright (c) 2002, 2003 Artur Grabowski <art@openbsd.org> @@ -197,13 +197,6 @@ retry: rw_enter_diag(rwl, flags); - if (((struct proc *)RW_PROC(rwl))->p_stat == SONPROC) { -printf("%p\n", (struct proc *)RW_PROC(rwl)); - while(((struct proc *)RW_PROC(rwl))->p_stat == SONPROC) - SPINLOCK_SPIN_HOOK; - goto retry; - } - if (flags & RW_NOSLEEP) return (EBUSY); |