diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2009-08-13 23:12:16 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2009-08-13 23:12:16 +0000 |
commit | 5a290393afd88020d86f0c36a17bcd64a8534586 (patch) | |
tree | 021b40957d1bfd13886d1a68dbc48803fe8e2f3a /sys/kern | |
parent | 8c17fea5311ee81028e3d42e9020254ac71cbf29 (diff) |
Remove unrelated bit from last commit which breaks at least 2 arches.
Bad blambert@, no biscuit.
Diffstat (limited to 'sys/kern')
-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); |