summary refs log tree commit diff
path: root/linuxthreads/sysdeps/sh
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-18 05:55:14 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-18 05:55:14 +0000
commit308afe5f2bb1219cce3e4f300e5e3df78986259d (patch)
treecbff1de1949a282cd005eca79318a76d12cd8ae0 /linuxthreads/sysdeps/sh
parent927a8431da39ce150f5065d1049a7f6f59206028 (diff)
downloadglibc-308afe5f2bb1219cce3e4f300e5e3df78986259d.tar.gz
glibc-308afe5f2bb1219cce3e4f300e5e3df78986259d.tar.xz
glibc-308afe5f2bb1219cce3e4f300e5e3df78986259d.zip
* sysdeps/s390/pt-machine.h (testandset): Use long int as return
value. 
* sysdeps/arm/pt-machine.h (testandset): Likewise. 
* sysdeps/hppa/pt-machine.h (testandset): Likewise. 
* sysdeps/m68k/pt-machine.h (testandset): Likewise. 
* sysdeps/sh/pt-machine.h (testandset): Likewise. 
* sysdeps/sparc/sparc32/pt-machine.h (testandset): Likewise. 
* sysdeps/sparc/sparc64/pt-machine.h (testandset): Likewise.
Diffstat (limited to 'linuxthreads/sysdeps/sh')
-rw-r--r--linuxthreads/sysdeps/sh/pt-machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/sh/pt-machine.h b/linuxthreads/sysdeps/sh/pt-machine.h
index e5e5597a91..a54fa12da8 100644
--- a/linuxthreads/sysdeps/sh/pt-machine.h
+++ b/linuxthreads/sysdeps/sh/pt-machine.h
@@ -24,7 +24,7 @@
 #endif
 
 /* Spinlock implementation; required.  */
-PT_EI int
+PT_EI long int
 testandset (int *spinlock)
 {
   int ret;