diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-10-16 04:56:13 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-10-16 04:56:13 +0000 |
commit | 54bda6229428f8823cc9646db5e041156c5eaebb (patch) | |
tree | 5497e1badfee98a27e5a59cbdc388eb8ea77fcbe /sys/arch/m88k | |
parent | 0139989c4b51131a7953b8daf66400204c9dd0be (diff) |
Fix the mtx_wantipl != IPL_NONE comparison in the ``have to spin''
MULTIPROCESSOR case in mtx_enter.
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r-- | sys/arch/m88k/m88k/mutex.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/m88k/m88k/mutex.S b/sys/arch/m88k/m88k/mutex.S index 107074f76b6..73a95bc4023 100644 --- a/sys/arch/m88k/m88k/mutex.S +++ b/sys/arch/m88k/m88k/mutex.S @@ -1,4 +1,4 @@ -/* $OpenBSD: mutex.S,v 1.4 2007/05/18 16:34:31 miod Exp $ */ +/* $OpenBSD: mutex.S,v 1.5 2007/10/16 04:56:12 miod Exp $ */ /* * Copyright (c) 2005, Miodrag Vallat. @@ -72,7 +72,7 @@ enter_again: enter_failed: /* the lock is not ours... */ ld r3, r4, MTX_WANTIPL - bcnd eq0, r4, 2f + bcnd eq0, r3, 2f bcnd ne0, r2, 1f /* splx(oldipl) */ bsr.n _C_LABEL(spl0) addu r1, r1, 2f - . - 4 |