diff options
author | 2013-06-03 16:19:45 +0000 | |
---|---|---|
committer | 2013-06-03 16:19:45 +0000 | |
commit | 3d8b6ee9ed81cc4c117f03b5ba12970cb93314c7 (patch) | |
tree | d16595b5d9f4ac79c544c6c0cdef81f352b3ea1d | |
parent | Correctly increment the refcounter when trying to open a non connected (diff) | |
download | wireguard-openbsd-3d8b6ee9ed81cc4c117f03b5ba12970cb93314c7.tar.xz wireguard-openbsd-3d8b6ee9ed81cc4c117f03b5ba12970cb93314c7.zip |
unbreak
-rw-r--r-- | lib/librthread/arch/mips64/_atomic_lock.c | 4 |
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); |