summaryrefslogtreecommitdiff
path: root/lib/librthread/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-06-03 16:19:46 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-06-03 16:19:46 +0000
commit069025f08998c1b825347acd8d23a406abbae4aa (patch)
tree53d104fa5b716dda334d4985af175160ae6708a8 /lib/librthread/arch
parent236e14308530d7346e9b94785464eca30ab7af1f (diff)
unbreak
Diffstat (limited to 'lib/librthread/arch')
-rw-r--r--lib/librthread/arch/mips64/_atomic_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/arch/mips64/_atomic_lock.c b/lib/librthread/arch/mips64/_atomic_lock.c
index e02abd40af4..be85dad4421 100644
--- a/lib/librthread/arch/mips64/_atomic_lock.c
+++ b/lib/librthread/arch/mips64/_atomic_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: _atomic_lock.c,v 1.6 2013/06/01 20:47:40 tedu Exp $ */
+/* $OpenBSD: _atomic_lock.c,v 1.7 2013/06/03 16:19:45 miod Exp $ */
/*
* Atomic lock for mips
@@ -20,7 +20,7 @@ _atomic_lock(volatile _atomic_lock_t *lock)
" addi %2, $0, %3\n"
".set reorder\n"
: "=&r"(old)
- : "r"(lock), "r"(_ATOMIC_LOCK_LOCKED), "i"(_SPINLOCK_LOCKED)
+ : "r"(lock), "r"(_ATOMIC_LOCK_LOCKED), "i"(_ATOMIC_LOCK_LOCKED)
: "memory");
return (old != _ATOMIC_LOCK_UNLOCKED);