Files
ubports_kernel_google_msm/arch/arm/include/asm
Nicolas Pitre 4fa20439a8 ARM: clean up idle handlers
Let's factor out the need_resched() check instead of having it duplicated
in every pm_idle implementations to avoid inconsistencies (omap2_pm_idle
is missing it already).

The forceful re-enablement of IRQs after pm_idle has returned can go.
The warning certainly doesn't trigger for existing users.

To get rid of the pm_idle calling convention oddity, let's introduce
arm_pm_idle() allowing for the local_irq_enable() to be factored out
from SOC specific implementations. The default pm_idle function becomes
a wrapper for arm_pm_idle and it takes care of enabling IRQs closer to
where they are initially disabled.

And finally move the comment explaining the reason for that turning off
of IRQs to a more proper location.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-and-tested-by: Jamie Iles <jamie@jamieiles.com>
2012-01-20 18:55:05 -05:00
..
2011-03-16 23:35:26 +00:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-16 23:35:26 +00:00
2011-03-31 11:26:23 -03:00
2011-11-28 21:13:06 +02:00
2010-10-07 14:08:55 +01:00
2010-10-29 13:14:40 -05:00
2011-12-06 11:15:25 +00:00
2010-10-01 22:32:18 -04:00
2011-10-23 13:32:29 +01:00
2012-01-20 18:55:05 -05:00
2012-01-03 22:55:17 -05:00
2011-03-31 11:26:23 -03:00
2012-01-16 08:56:25 -06:00
2011-07-12 11:19:29 -05:00