summaryrefslogtreecommitdiff
path: root/src/atomic_ops/sysdeps/gcc/arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/atomic_ops/sysdeps/gcc/arm.h')
-rw-r--r--src/atomic_ops/sysdeps/gcc/arm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atomic_ops/sysdeps/gcc/arm.h b/src/atomic_ops/sysdeps/gcc/arm.h
index 9e9b701..d4bf028 100644
--- a/src/atomic_ops/sysdeps/gcc/arm.h
+++ b/src/atomic_ops/sysdeps/gcc/arm.h
@@ -25,8 +25,6 @@
# define AO_GCC_ATOMIC_TEST_AND_SET
#endif
-#include "../test_and_set_t_is_ao_t.h" /* Probably suboptimal */
-
#ifdef __native_client__
/* Mask instruction should immediately precede access instruction. */
# define AO_MASK_PTR(reg) " bical " reg ", " reg ", #0xc0000000\n"
@@ -281,6 +279,8 @@
#ifndef AO_GCC_ATOMIC_TEST_AND_SET
+# include "../test_and_set_t_is_ao_t.h" /* Probably suboptimal */
+
#ifdef AO_ARM_HAVE_LDREX
/* AO_t/char/short/int load is simple reading. */