diff options
Diffstat (limited to 'arch/arm/kernel/process.c')
-rw-r--r-- | arch/arm/kernel/process.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 971d65c253a9..c2ae3cd331fe 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c | |||
@@ -239,9 +239,7 @@ void cpu_idle(void) | |||
239 | leds_event(led_idle_end); | 239 | leds_event(led_idle_end); |
240 | rcu_idle_exit(); | 240 | rcu_idle_exit(); |
241 | tick_nohz_idle_exit(); | 241 | tick_nohz_idle_exit(); |
242 | preempt_enable_no_resched(); | 242 | schedule_preempt_disabled(); |
243 | schedule(); | ||
244 | preempt_disable(); | ||
245 | } | 243 | } |
246 | } | 244 | } |
247 | 245 | ||