aboutsummaryrefslogtreecommitdiffstats
path: root/erts/include/internal/libatomic_ops/ethread.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2014-11-25 19:34:50 +0100
committerRickard Green <[email protected]>2014-11-25 19:34:50 +0100
commit7c14d7b35f3fe6df4ab44a30ba1e3c6dac00a70b (patch)
treed0aa0b00417515de605691f86b5f9c5f8dbf9033 /erts/include/internal/libatomic_ops/ethread.h
parent23c0cebf707e61a0f2b9e9eb472d7cf3ad4eb94f (diff)
parent26e93069d53a44e274bc7c5f871fa8a7bd1dd94b (diff)
downloadotp-7c14d7b35f3fe6df4ab44a30ba1e3c6dac00a70b.tar.gz
otp-7c14d7b35f3fe6df4ab44a30ba1e3c6dac00a70b.tar.bz2
otp-7c14d7b35f3fe6df4ab44a30ba1e3c6dac00a70b.zip
Merge branch 'maint'
* maint: Implement support for double word atomics using libatomic_ops Improve usage of libatomic_ops for word size atomics Optimize atomic ops with release barrier for 32-bit PowerPC
Diffstat (limited to 'erts/include/internal/libatomic_ops/ethread.h')
-rw-r--r--erts/include/internal/libatomic_ops/ethread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/include/internal/libatomic_ops/ethread.h b/erts/include/internal/libatomic_ops/ethread.h
index e1fdd588bb..d65ee19b04 100644
--- a/erts/include/internal/libatomic_ops/ethread.h
+++ b/erts/include/internal/libatomic_ops/ethread.h
@@ -33,9 +33,12 @@
#define AO_USE_PENTIUM4_INSTRS
#endif
+#define ETHR_NATIVE_IMPL__ "libatomic_ops"
+
#include "atomic_ops.h"
#include "ethr_membar.h"
#include "ethr_atomic.h"
+#include "ethr_dw_atomic.h"
#endif