From 47b77ccdf828d7a9385f22e7da50b1f37b56cd15 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Sun, 13 Jan 2013 20:19:51 +0400 Subject: [PATCH] Fix ordered_except_wr header inclusion for s390 * src/atomic_ops/sysdeps/gcc/s390.h: Move include of ordered_except_wr.h down to be after all_aligned_atomic_load_store.h inclusion (since the latter defines AO_X_load/store primitives used by the former header). --- src/atomic_ops/sysdeps/gcc/s390.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/atomic_ops/sysdeps/gcc/s390.h b/src/atomic_ops/sysdeps/gcc/s390.h index b3026e6..36efbac 100644 --- a/src/atomic_ops/sysdeps/gcc/s390.h +++ b/src/atomic_ops/sysdeps/gcc/s390.h @@ -30,9 +30,10 @@ /* may be delayed. Otherwise everything is ordered. */ /* - There is a hardware compare-and-swap (CS) instruction. */ -#include "../ordered_except_wr.h" #include "../all_aligned_atomic_load_store.h" +#include "../ordered_except_wr.h" + #include "../test_and_set_t_is_ao_t.h" /* FIXME: Is there a way to do byte-sized test-and-set? */ -- 2.7.4