aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-06-10 13:46:02 +0200
committerRickard Green <[email protected]>2013-06-10 13:46:02 +0200
commit73d48da3e20430f0f6829c29289eaced73534476 (patch)
treef8e247c5d64c52122b3035b2be0a79ac5a91902a
parent10671126a75d14977a769d9dfce461482093c5c8 (diff)
downloadotp-73d48da3e20430f0f6829c29289eaced73534476.tar.gz
otp-73d48da3e20430f0f6829c29289eaced73534476.tar.bz2
otp-73d48da3e20430f0f6829c29289eaced73534476.zip
erts: Fix debug code in erts_ptab_test_next_id()
-rw-r--r--erts/emulator/beam/erl_ptab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_ptab.c b/erts/emulator/beam/erl_ptab.c
index 8da135b2c8..f7b5f25eac 100644
--- a/erts/emulator/beam/erl_ptab.c
+++ b/erts/emulator/beam/erl_ptab.c
@@ -1435,7 +1435,7 @@ erts_ptab_test_next_id(ErtsPTab *ptab, int set, Uint next)
aid_ix = max_ix;
else
aid_ix--;
- ASSERT((aid_ix & max_ix) == (((Uint32) erts_atomic32_read_nob(&ptab->vola.tile.fid_ix)) & max_ix));
+ ASSERT((aid_ix & max_ix) == (((Uint32) erts_smp_atomic32_read_nob(&ptab->vola.tile.fid_ix)) & max_ix));
#endif
}