Commit f2905d54 authored by Thomas Gleixner's avatar Thomas Gleixner

x86: fix preempt_enable_no_resched usage

Triggers the missed preemption check.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 35316f6a
...@@ -118,7 +118,7 @@ void cpu_idle(void) ...@@ -118,7 +118,7 @@ void cpu_idle(void)
start_critical_timings(); start_critical_timings();
} }
tick_nohz_restart_sched_tick(); tick_nohz_restart_sched_tick();
preempt_enable_no_resched(); __preempt_enable_no_resched();
schedule(); schedule();
preempt_disable(); preempt_disable();
} }
......
...@@ -152,7 +152,7 @@ void cpu_idle(void) ...@@ -152,7 +152,7 @@ void cpu_idle(void)
} }
tick_nohz_restart_sched_tick(); tick_nohz_restart_sched_tick();
preempt_enable_no_resched(); __preempt_enable_no_resched();
schedule(); schedule();
preempt_disable(); preempt_disable();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment