diff options
author | Rickard Green <[email protected]> | 2014-12-03 22:50:28 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2014-12-10 12:46:50 +0100 |
commit | 843cf9120d2845be2c3304fc8dcb4c16b49bbfca (patch) | |
tree | d4f105df9554d09226d4be29c3b4de7e83654721 /erts/emulator/beam/erl_process.h | |
parent | 31b54a211eac951e3a0f2d1f5fe221d8296988ba (diff) | |
download | otp-843cf9120d2845be2c3304fc8dcb4c16b49bbfca.tar.gz otp-843cf9120d2845be2c3304fc8dcb4c16b49bbfca.tar.bz2 otp-843cf9120d2845be2c3304fc8dcb4c16b49bbfca.zip |
Use the new 64-bit atomic ops API
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r-- | erts/emulator/beam/erl_process.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h index 27a3a3553b..f50b217d4a 100644 --- a/erts/emulator/beam/erl_process.h +++ b/erts/emulator/beam/erl_process.h @@ -351,13 +351,7 @@ typedef struct { #undef ERTS_HAVE_SCHED_UTIL_BALANCING_SUPPORT #define ERTS_HAVE_SCHED_UTIL_BALANCING_SUPPORT ERTS_HAVE_SCHED_UTIL_BALANCING_SUPPORT_OPT -#ifdef ARCH_64 -typedef erts_atomic_t ErtsAtomicSchedTime; -#elif defined(ARCH_32) -typedef erts_dw_atomic_t ErtsAtomicSchedTime; -#else -# error :-/ -#endif +typedef erts_atomic64_t ErtsAtomicSchedTime; #if ERTS_HAVE_SCHED_UTIL_BALANCING_SUPPORT typedef struct { |