diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-09-13 02:28:34 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-09-13 02:28:34 +0000 |
commit | 07a485defae1ef578c5b3ce0d4373201948a7345 (patch) | |
tree | 2184f0f32083bd47ef3b82ad016d8d710f8f221f /libpthread/linuxthreads/spinlock.c | |
parent | 224ca9f63688cdecd80ed01c25f5f62871fe4cfc (diff) | |
download | uClibc-alpine-07a485defae1ef578c5b3ce0d4373201948a7345.tar.bz2 uClibc-alpine-07a485defae1ef578c5b3ce0d4373201948a7345.tar.xz |
Merge with trunk. "So do that funky merge whiiite boy..."
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; |