summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-08-13 23:12:16 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-08-13 23:12:16 +0000
commit5a290393afd88020d86f0c36a17bcd64a8534586 (patch)
tree021b40957d1bfd13886d1a68dbc48803fe8e2f3a
parent8c17fea5311ee81028e3d42e9020254ac71cbf29 (diff)
Remove unrelated bit from last commit which breaks at least 2 arches.
Bad blambert@, no biscuit.
-rw-r--r--sys/kern/kern_rwlock.c9
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);