commit | 59e998561103a93f294c8d3138dd659af772a5da | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Aug 23 12:45:10 2013 -0700 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Aug 29 22:11:38 2013 +0200 |
tree | ef7bc435dbe2346af94992c06543b91d5e49164a | |
parent | 51f245b895e3fe4cbac0b2633e54a1830864a83f [diff] |
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>