aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_mode_switch.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-05-31 15:57:07 +0200
committerRickard Green <[email protected]>2016-05-31 15:57:07 +0200
commit5b844bafd84e606d0b6931011608c563705153ff (patch)
tree4e0a890b1edcb1db6f444acdb5877e0b4b892157 /erts/emulator/hipe/hipe_mode_switch.c
parenta76873a074b0b43f430c31f42d75a924a2d689b7 (diff)
parentc8bd15f0e5539ec3056565b535ff6db389f42a6b (diff)
downloadotp-5b844bafd84e606d0b6931011608c563705153ff.tar.gz
otp-5b844bafd84e606d0b6931011608c563705153ff.tar.bz2
otp-5b844bafd84e606d0b6931011608c563705153ff.zip
Merge branch 'rickard/mv-dirty-reds-count/OTP-13123'
* rickard/mv-dirty-reds-count/OTP-13123: Move dirty reduction count to erts_dirty_process_main()
Diffstat (limited to 'erts/emulator/hipe/hipe_mode_switch.c')
-rw-r--r--erts/emulator/hipe/hipe_mode_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_mode_switch.c b/erts/emulator/hipe/hipe_mode_switch.c
index 884331e969..ed95045292 100644
--- a/erts/emulator/hipe/hipe_mode_switch.c
+++ b/erts/emulator/hipe/hipe_mode_switch.c
@@ -547,7 +547,7 @@ Process *hipe_mode_switch(Process *p, unsigned cmd, Eterm reg[])
p->flags &= ~F_HIPE_MODE;
ERTS_SMP_UNREQ_PROC_MAIN_LOCK(p);
- p = schedule(p, reds_in - p->fcalls);
+ p = erts_schedule(NULL, p, reds_in - p->fcalls);
ERTS_SMP_REQ_PROC_MAIN_LOCK(p);
ASSERT(!(p->flags & F_HIPE_MODE));
#ifdef ERTS_SMP