aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc_util.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-11-08 11:24:40 +0100
committerSverker Eriksson <[email protected]>2012-11-15 14:20:36 +0100
commit4ca2d66fb51e1f3bb85d420c339fb73c5fb6bc62 (patch)
treef0d4e86decddaa54cb1c98d3b9159e59fef00a31 /erts/emulator/beam/erl_alloc_util.c
parentde03018e74bea97795895f1611abf2a50a484449 (diff)
downloadotp-4ca2d66fb51e1f3bb85d420c339fb73c5fb6bc62.tar.gz
otp-4ca2d66fb51e1f3bb85d420c339fb73c5fb6bc62.tar.bz2
otp-4ca2d66fb51e1f3bb85d420c339fb73c5fb6bc62.zip
erts: Move carrier alignment define to erl_msg.h
Diffstat (limited to 'erts/emulator/beam/erl_alloc_util.c')
-rw-r--r--erts/emulator/beam/erl_alloc_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.c b/erts/emulator/beam/erl_alloc_util.c
index 6b674debbd..32a42f9274 100644
--- a/erts/emulator/beam/erl_alloc_util.c
+++ b/erts/emulator/beam/erl_alloc_util.c
@@ -78,7 +78,7 @@ int erts_have_sbmbc_alloc;
#if HAVE_ERTS_MSEG
-#define MSEG_UNIT_SHIFT ((UWord)12)
+#define MSEG_UNIT_SHIFT MSEG_ALIGN_BITS
#define MSEG_UNIT_SZ (1 << MSEG_UNIT_SHIFT)
#define MSEG_UNIT_MASK ((~(UWord)0) << MSEG_UNIT_SHIFT)