From 1d2230a7d275706c5f0de850e15527aae3744310 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Sat, 23 Jul 2005 22:10:27 +0000 Subject: Merge from trunk. --- 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 5d4bd20e4..c0e7a368f 100644 --- a/libpthread/linuxthreads/spinlock.c +++ b/libpthread/linuxthreads/spinlock.c @@ -32,7 +32,7 @@ static inline void __pthread_release(int * spinlock) { WRITE_MEMORY_BARRIER(); *spinlock = __LT_SPINLOCK_INIT; - __asm __volatile ("" : "=m" (*spinlock) : "0" (*spinlock)); + __asm __volatile ("" : "=m" (*spinlock) : "m" (*spinlock)); } -- cgit v1.2.3