about summary refs log tree commit diff
path: root/sysdeps/mips/sys/tas.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/sys/tas.h')
-rw-r--r--sysdeps/mips/sys/tas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mips/sys/tas.h b/sysdeps/mips/sys/tas.h
index e14b5f04c1..2820ff6f05 100644
--- a/sysdeps/mips/sys/tas.h
+++ b/sysdeps/mips/sys/tas.h
@@ -41,7 +41,7 @@ __NTH (_test_and_set (int *__p, int __v))
   __asm__ __volatile__
     ("/* Inline test and set */\n"
      ".set	push\n\t"
-#if _MIPS_SIM == _ABIO32
+#if _MIPS_SIM == _ABIO32 && __mips < 2
      ".set	mips2\n\t"
 #endif
      "sync\n\t"