summary refs log tree commit diff
path: root/sysdeps/mips/bits/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/bits/atomic.h')
-rw-r--r--sysdeps/mips/bits/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mips/bits/atomic.h b/sysdeps/mips/bits/atomic.h
index a39188160b..375448957c 100644
--- a/sysdeps/mips/bits/atomic.h
+++ b/sysdeps/mips/bits/atomic.h
@@ -38,7 +38,7 @@ typedef uintptr_t uatomicptr_t;
 typedef intmax_t atomic_max_t;
 typedef uintmax_t uatomic_max_t;
 
-#if _MIPS_SIM == _ABIO32
+#if _MIPS_SIM == _ABIO32 && __mips < 2
 #define MIPS_PUSH_MIPS2 ".set	mips2\n\t"
 #else
 #define MIPS_PUSH_MIPS2