diff options
author | Michał Muskała <[email protected]> | 2019-05-24 20:59:06 +0200 |
---|---|---|
committer | Michał Muskała <[email protected]> | 2019-05-28 14:22:00 +0200 |
commit | 15076741791d8d890d66a95b9aef950153e6e879 (patch) | |
tree | 12dfb95796db3b3f50e1a8a3b04a94b9a097e38a | |
parent | 0e72e780498e47614de5730c8d4453948c9ad1da (diff) | |
download | otp-15076741791d8d890d66a95b9aef950153e6e879.tar.gz otp-15076741791d8d890d66a95b9aef950153e6e879.tar.bz2 otp-15076741791d8d890d66a95b9aef950153e6e879.zip |
Add missing attribute to debug variable
Without this I wasn't able to compile the debug emulator, the compilation
would fail with "section attribute is specified on redeclared variable" errors.
-rw-r--r-- | erts/emulator/beam/erl_sched_spec_pre_alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_sched_spec_pre_alloc.h b/erts/emulator/beam/erl_sched_spec_pre_alloc.h index 74cc966cbe..6f715ae80d 100644 --- a/erts/emulator/beam/erl_sched_spec_pre_alloc.h +++ b/erts/emulator/beam/erl_sched_spec_pre_alloc.h @@ -49,7 +49,7 @@ do { \ #endif #ifdef DEBUG -extern Uint erts_no_schedulers; +extern Uint ERTS_WRITE_UNLIKELY(erts_no_schedulers); #endif #define ERTS_SSPA_FORCE_THR_CHECK_PROGRESS 10 |