aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/mips/pspinlock.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2004-11-24 04:33:22 +0000
committerAndreas Jaeger <aj@suse.de>2004-11-24 04:33:22 +0000
commitcdb7b96289c0605afe393a69a5865a1cedf072dc (patch)
tree2542fa88a190dd99b031b5a243712cc71292dffe /linuxthreads/sysdeps/mips/pspinlock.c
parent42586dce0327cd294aa28dc74a2d73eb1c10da88 (diff)
downloadglibc-cdb7b96289c0605afe393a69a5865a1cedf072dc.tar
glibc-cdb7b96289c0605afe393a69a5865a1cedf072dc.tar.gz
glibc-cdb7b96289c0605afe393a69a5865a1cedf072dc.tar.bz2
glibc-cdb7b96289c0605afe393a69a5865a1cedf072dc.zip
Include <sgidefs.h>. Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout.
Diffstat (limited to 'linuxthreads/sysdeps/mips/pspinlock.c')
-rw-r--r--linuxthreads/sysdeps/mips/pspinlock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/mips/pspinlock.c b/linuxthreads/sysdeps/mips/pspinlock.c
index b04b9ffea9..350aa7553c 100644
--- a/linuxthreads/sysdeps/mips/pspinlock.c
+++ b/linuxthreads/sysdeps/mips/pspinlock.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <pthread.h>
+#include <sgidefs.h>
#include <sys/tas.h>
#include "internals.h"
@@ -34,7 +35,7 @@ __pthread_spin_lock (pthread_spinlock_t *lock)
("\t\t\t# spin_lock\n"
"1:\n\t"
".set push\n\t"
-#if _MIPS_SIM == _MIPS_SIM_ABI32
+#if _MIPS_SIM == _ABIO32
".set mips2\n\t"
#endif
"ll %1,%3\n\t"