aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorMikael Pettersson <[email protected]>2018-07-30 09:53:06 +0200
committerMikael Pettersson <[email protected]>2018-07-30 09:53:06 +0200
commit865ecb8d5da48695d4dc39b73fd641bdeaca52df (patch)
tree4b0d8a601620bcd82602b527d14a2449e5aeab1e /erts/emulator/beam
parenta0b2cc0a377d780fe938ba9be3e417c7a8e00914 (diff)
downloadotp-865ecb8d5da48695d4dc39b73fd641bdeaca52df.tar.gz
otp-865ecb8d5da48695d4dc39b73fd641bdeaca52df.tar.bz2
otp-865ecb8d5da48695d4dc39b73fd641bdeaca52df.zip
erl_alloc: align ErtsAllocatorState_t
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/erl_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c
index 575d6ca867..8fe1ccb758 100644
--- a/erts/emulator/beam/erl_alloc.c
+++ b/erts/emulator/beam/erl_alloc.c
@@ -114,7 +114,7 @@ typedef union {
char align_afa[ERTS_ALC_CACHE_LINE_ALIGN_SIZE(sizeof(AFAllctr_t))];
AOFFAllctr_t aoffa;
char align_aoffa[ERTS_ALC_CACHE_LINE_ALIGN_SIZE(sizeof(AOFFAllctr_t))];
-} ErtsAllocatorState_t;
+} ErtsAllocatorState_t erts_align_attribute(ERTS_CACHE_LINE_SIZE);
static ErtsAllocatorState_t std_alloc_state;
static ErtsAllocatorState_t ll_alloc_state;