* src/atomic_ops/sysdeps/armcc/arm_v6.h: Move include of read_ordered.h
down to the end of the file to be after AO_load/store definition
(since read_ordered.h depends on these primitives).
* src/atomic_ops/sysdeps/gcc/arm.h: Likewise.
* src/atomic_ops/sysdeps/msftc/arm.h: Likewise.
Conflicts:
src/atomic_ops/sysdeps/armcc/arm_v6.h
src/atomic_ops/sysdeps/gcc/arm.h
src/atomic_ops/sysdeps/msftc/arm.h
* modified is included with the above copyright notice.
*
*/
-#include "../read_ordered.h"
+
#include "../test_and_set_t_is_ao_t.h" /* Probably suboptimal */
#if __TARGET_ARCH_ARM < 6
#define AO_HAVE_compare_double_and_swap_double
#endif // __TARGET_ARCH_ARM
+
+#include "../read_ordered.h"
*
*/
-#include "../read_ordered.h"
-
#include "../test_and_set_t_is_ao_t.h" /* Probably suboptimal */
/* NEC LE-IT: ARMv6 is the first architecture providing support for */
}
# define AO_HAVE_test_and_set_full
#endif /* !AO_HAVE_test_and_set[_full] */
+
+#include "../read_ordered.h"
* SOFTWARE.
*/
-#include "../read_ordered.h"
-
#ifndef AO_ASSUME_WINDOWS98
/* CAS is always available */
# define AO_ASSUME_WINDOWS98
/* AO_test_and_set_full() is emulated using CAS. */
#endif /* _M_ARM < 6 */
+
+#include "../read_ordered.h"