cpuidle: coupled: disable interrupts after entering safe state
authorColin Cross <ccross@android.com>
Fri, 23 Aug 2013 19:45:10 +0000 (12:45 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 29 Aug 2013 20:11:38 +0000 (22:11 +0200)
commit59e998561103a93f294c8d3138dd659af772a5da
treeef7bc435dbe2346af94992c06543b91d5e49164a
parent51f245b895e3fe4cbac0b2633e54a1830864a83f
cpuidle: coupled: disable interrupts after entering safe state

Calling cpuidle_enter_state is expected to return with interrupts
enabled, but interrupts must be disabled before starting the
ready loop synchronization stage.  Call local_irq_disable after
each call to cpuidle_enter_state for the safe state.

Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/coupled.c