mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-17 02:20:10 +00:00
2003-04-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints.
This commit is contained in:
parent
88ff4759ac
commit
9eb55f4997
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user