aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-04-24 10:20:28 +0200
committerLukas Larsson <[email protected]>2017-04-24 10:20:28 +0200
commit98b666c9a7a9a53b339dcfe66cb73d319804021d (patch)
tree67739087c65646fbd586f80033579aa1e11dd388 /erts/emulator/beam
parente1f468dedf124bd20ac084fcadb15b88e406733f (diff)
parentf8622f94739bb4d240cc3965cc67b8096feab503 (diff)
downloadotp-98b666c9a7a9a53b339dcfe66cb73d319804021d.tar.gz
otp-98b666c9a7a9a53b339dcfe66cb73d319804021d.tar.bz2
otp-98b666c9a7a9a53b339dcfe66cb73d319804021d.zip
Merge branch 'lukas/erts/fix_non-smp_scheduler_data_init/OTP-14152'
* lukas/erts/fix_non-smp_scheduler_data_init/OTP-14152: erts: Initialize esdp->type in non-smp to normal
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/erl_process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index a7c90867f0..f35c5e04a2 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -6091,6 +6091,7 @@ init_scheduler_data(ErtsSchedulerData* esdp, int num,
runq->scheduler = esdp;
esdp->run_queue = runq;
esdp->no = (Uint) num;
+ esdp->type = ERTS_SCHED_NORMAL;
#endif
esdp->ssi = ssi;