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_ptab.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_ptab.h')
-rw-r--r-- | erts/emulator/beam/erl_ptab.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/erts/emulator/beam/erl_ptab.h b/erts/emulator/beam/erl_ptab.h index e3e05f14af..876241159b 100644 --- a/erts/emulator/beam/erl_ptab.h +++ b/erts/emulator/beam/erl_ptab.h @@ -88,11 +88,7 @@ typedef struct { } ErtsPTabListData; typedef struct { -#ifdef ARCH_32 - erts_smp_dw_atomic_t last_data; -#else - erts_smp_atomic_t last_data; -#endif + erts_smp_atomic64_t last_data; erts_smp_atomic32_t count; erts_smp_atomic32_t aid_ix; erts_smp_atomic32_t fid_ix; |