diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-08 02:59:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-08 02:59:43 +0000 |
commit | 4cb089f596aa0aa50720bf1e316470e377f7a544 (patch) | |
tree | e4572937f87720c449debc918e989d9ad5b43fe4 /libpthread/linuxthreads/spinlock.c | |
parent | 00ff75bca34a94ec27f17f981d1ad8c891a5fd53 (diff) |
sync with glibc
Diffstat (limited to 'libpthread/linuxthreads/spinlock.c')
-rw-r--r-- | libpthread/linuxthreads/spinlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/spinlock.c b/libpthread/linuxthreads/spinlock.c index c0e7a368f..cdf45f195 100644 --- a/libpthread/linuxthreads/spinlock.c +++ b/libpthread/linuxthreads/spinlock.c @@ -108,7 +108,7 @@ void internal_function __pthread_lock(struct _pthread_fastlock * lock, #ifdef BUSY_WAIT_NOP BUSY_WAIT_NOP; #endif - __asm __volatile ("" : "=m" (lock->__status) : "0" (lock->__status)); + __asm __volatile ("" : "=m" (lock->__status) : "m" (lock->__status)); } lock->__spinlock += (spin_count - lock->__spinlock) / 8; |