aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_ptab.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2014-12-03 22:50:28 +0100
committerRickard Green <[email protected]>2014-12-10 12:46:50 +0100
commit843cf9120d2845be2c3304fc8dcb4c16b49bbfca (patch)
treed4f105df9554d09226d4be29c3b4de7e83654721 /erts/emulator/beam/erl_ptab.h
parent31b54a211eac951e3a0f2d1f5fe221d8296988ba (diff)
downloadotp-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.h6
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;