summaryrefslogtreecommitdiff
path: root/lib/librthread/arch
diff options
context:
space:
mode:
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);