Commit 49d9c593 authored by Peter Zijlstra's avatar Peter Zijlstra
parent fddf9055
...@@ -153,7 +153,8 @@ static void enter_s2idle_proper(struct cpuidle_driver *drv, ...@@ -153,7 +153,8 @@ static void enter_s2idle_proper(struct cpuidle_driver *drv,
*/ */
stop_critical_timings(); stop_critical_timings();
drv->states[index].enter_s2idle(dev, drv, index); drv->states[index].enter_s2idle(dev, drv, index);
WARN_ON(!irqs_disabled()); if (WARN_ON_ONCE(!irqs_disabled()))
local_irq_disable();
/* /*
* timekeeping_resume() that will be called by tick_unfreeze() for the * timekeeping_resume() that will be called by tick_unfreeze() for the
* first CPU executing it calls functions containing RCU read-side * first CPU executing it calls functions containing RCU read-side
......
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