2003-04-11 Martin Schwidefsky <schwidefsky@de.ibm.com>

* sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints.
This commit is contained in:
Roland McGrath 2003-04-11 22:06:02 +00:00
parent 88ff4759ac
commit 9eb55f4997

View File

@ -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)