aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-07-31 15:24:41 +0200
committerGitHub <[email protected]>2018-07-31 15:24:41 +0200
commit68528b5ea9f87d52d5bcb0eb0301359008c83fc7 (patch)
treeb714bb7d56a95a19b65566e91a795a9048f09d5c /erts
parent245031ab86e5b06f78d271e9095e326663356837 (diff)
parent865ecb8d5da48695d4dc39b73fd641bdeaca52df (diff)
downloadotp-68528b5ea9f87d52d5bcb0eb0301359008c83fc7.tar.gz
otp-68528b5ea9f87d52d5bcb0eb0301359008c83fc7.tar.bz2
otp-68528b5ea9f87d52d5bcb0eb0301359008c83fc7.zip
mikpe/erts-erl_alloc-missing-alignment/PR-1897/OTP-15208
erl_alloc: align ErtsAllocatorState_t
Diffstat (limited to 'erts')
-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;