about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-04-11 22:06:02 +0000
committerRoland McGrath <roland@gnu.org>2003-04-11 22:06:02 +0000
commit9eb55f49978484763a29d9f65cf4f6b0ed5a4978 (patch)
tree282bd07b289ba0e33f58420755ce09b707cdc908 /linuxthreads
parent88ff4759acdc413c96b038036823ac6dc677c667 (diff)
downloadglibc-9eb55f49978484763a29d9f65cf4f6b0ed5a4978.tar.gz
glibc-9eb55f49978484763a29d9f65cf4f6b0ed5a4978.tar.xz
glibc-9eb55f49978484763a29d9f65cf4f6b0ed5a4978.zip
2003-04-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
	* sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/sysdeps/s390/pspinlock.c2
1 files changed, 1 insertions, 1 deletions
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)