From 9eb55f49978484763a29d9f65cf4f6b0ed5a4978 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 11 Apr 2003 22:06:02 +0000 Subject: 2003-04-11 Martin Schwidefsky * sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints. --- linuxthreads/sysdeps/s390/pspinlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxthreads/sysdeps/s390/pspinlock.c b/linuxthreads/sysdeps/s390/pspinlock.c index 42130d5f0a..71ec6b2ae9 100644 --- a/linuxthreads/sysdeps/s390/pspinlock.c +++ b/linuxthreads/sysdeps/s390/pspinlock.c @@ -64,7 +64,7 @@ __pthread_spin_unlock (pthread_spinlock_t *lock) { asm volatile(" xc 0(4,%0),0(%0)\n" " bcr 15,0" - : "=a" (lock) ); + : : "a" (lock) : "memory" ); return 0; } weak_alias (__pthread_spin_unlock, pthread_spin_unlock) -- cgit 1.4.1