CPUidle: always return with interrupts enabled
commit6d38631fd0be1c0b17b2b03dd1166a005441d39f
authorKevin Hilman <khilman@deeprootsystems.com>
Wed, 30 Sep 2009 16:57:40 +0000 (30 09:57 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 23 Oct 2009 18:18:59 +0000 (23 11:18 -0700)
treed8c1d842c25e56447cabc32167bdd7ef73a8947f
parente8b754d999025b92fe81bc41cd94bce2085cc9b3
CPUidle: always return with interrupts enabled

In the case where cpuidle_idle_call() returns before changing state
due to a need_resched(), it was returning with IRQs disabled.

This patch ensures IRQs are (re)enabled before returning.

Reported-by: Hemanth V <hemanthv@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
drivers/cpuidle/cpuidle.c