From: Ivan Maidanski Date: Sun, 13 Jan 2013 16:19:51 +0000 (+0400) Subject: Fix ordered_except_wr header inclusion for s390 X-Git-Tag: libatomic_ops-7_2e~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5996d1cf18fbbd3180af0738ab5fa9af66883854;p=libatomic_ops 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). --- diff --git a/src/atomic_ops/sysdeps/gcc/s390.h b/src/atomic_ops/sysdeps/gcc/s390.h index c05dc85..7cc9c36 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? */