From: Roland McGrath Date: Fri, 11 Apr 2003 22:06:02 +0000 (+0000) Subject: 2003-04-11 Martin Schwidefsky X-Git-Tag: cvs/glibc-2_3_3~922 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9eb55f49978484763a29d9f65cf4f6b0ed5a4978;p=thirdparty%2Fglibc.git 2003-04-11 Martin Schwidefsky * sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints. --- diff --git a/linuxthreads/sysdeps/s390/pspinlock.c b/linuxthreads/sysdeps/s390/pspinlock.c index 42130d5f0a1..71ec6b2ae92 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)