From 07a485defae1ef578c5b3ce0d4373201948a7345 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Tue, 13 Sep 2005 02:28:34 +0000 Subject: Merge with trunk. "So do that funky merge whiiite boy..." --- libpthread/linuxthreads/spinlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread/linuxthreads/spinlock.c') 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; -- cgit v1.2.3