diff options
author | Rickard Green <[email protected]> | 2014-11-07 14:41:02 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2014-11-10 14:20:01 +0100 |
commit | d5a4eb5a9e24a07cb3653967ff91557c9a21ecb4 (patch) | |
tree | 1396ce6eb1792e3a4e4d174f9b26d6c45feca9c8 /erts/include/internal/ethread.h | |
parent | 9417f044ee3c291c2ea343c203aebdcc40597226 (diff) | |
download | otp-d5a4eb5a9e24a07cb3653967ff91557c9a21ecb4.tar.gz otp-d5a4eb5a9e24a07cb3653967ff91557c9a21ecb4.tar.bz2 otp-d5a4eb5a9e24a07cb3653967ff91557c9a21ecb4.zip |
Improve usage of libatomic_ops for word size atomics
Use AO_fetch_compare_and_swap*() when present
Diffstat (limited to 'erts/include/internal/ethread.h')
-rw-r--r-- | erts/include/internal/ethread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/include/internal/ethread.h b/erts/include/internal/ethread.h index 72c054b588..ad5d05704c 100644 --- a/erts/include/internal/ethread.h +++ b/erts/include/internal/ethread.h @@ -364,8 +364,8 @@ extern ethr_runtime_t ethr_runtime__; # include "sparc64/ethread.h" # endif # endif -# include "gcc/ethread.h" # include "libatomic_ops/ethread.h" +# include "gcc/ethread.h" # endif # elif defined(ETHR_HAVE_LIBATOMIC_OPS) # include "libatomic_ops/ethread.h" |