aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db_hash.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-03-02 15:46:37 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-03-12 19:15:30 +0100
commit861a865cea33e0f8d84148dfbd64ab00beb1a54a (patch)
tree60a9e1aebb350d77f4cb8e077d5d00dea3ba63a6 /erts/emulator/beam/erl_db_hash.c
parentdea2faefbbea2b2e80a43600f47833d47a208b32 (diff)
downloadotp-861a865cea33e0f8d84148dfbd64ab00beb1a54a.tar.gz
otp-861a865cea33e0f8d84148dfbd64ab00beb1a54a.tar.bz2
otp-861a865cea33e0f8d84148dfbd64ab00beb1a54a.zip
erts: Add make_internal_hash
Diffstat (limited to 'erts/emulator/beam/erl_db_hash.c')
-rw-r--r--erts/emulator/beam/erl_db_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db_hash.c b/erts/emulator/beam/erl_db_hash.c
index c2157457a0..6cb2ecac15 100644
--- a/erts/emulator/beam/erl_db_hash.c
+++ b/erts/emulator/beam/erl_db_hash.c
@@ -174,7 +174,7 @@ static ERTS_INLINE void add_fixed_deletion(DbTableHash* tb, int ix)
/* optimised version of make_hash (normal case? atomic key) */
#define MAKE_HASH(term) \
((is_atom(term) ? (atom_tab(atom_val(term))->slot.bucket.hvalue) : \
- make_hash2(term)) % MAX_HASH)
+ make_internal_hash(term)) % MAX_HASH)
#ifdef ERTS_SMP
# define DB_HASH_LOCK_MASK (DB_HASH_LOCK_CNT-1)