summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpthread/linuxthreads/sysdeps/arm/pt-machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/sysdeps/arm/pt-machine.h b/libpthread/linuxthreads/sysdeps/arm/pt-machine.h
index b00b10495..3250961cf 100644
--- a/libpthread/linuxthreads/sysdeps/arm/pt-machine.h
+++ b/libpthread/linuxthreads/sysdeps/arm/pt-machine.h
@@ -28,7 +28,7 @@
# define PT_EI __extern_always_inline
#endif
-#if defined(__thumb2__)
+#if __ARM_ARCH >= 7 || defined(__thumb2__)
/* Spinlock implementation; required. */
PT_EI long int
testandset (int *spinlock)