ARM: EXYNOS4: Support early wakeup entering sleep mode
authorJaecheol Lee <jc.lee@samsung.com>
Mon, 18 Jul 2011 10:21:34 +0000 (19:21 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 20 Jul 2011 14:38:18 +0000 (23:38 +0900)
commite240ab1cfbf8e341c38847fe9aee8579a01ed303
tree6b4dc049b4f8842d6044556bade07313c5ca2225
parente4cf2d1495fc6030c6b01e266aaa125061f58d5b
ARM: EXYNOS4: Support early wakeup entering sleep mode

Since early wakeup can be handled in pm so we don't need masking
interrupts of external GIC. When the early wakeup interrupt happens,
PMU(Power Management Unit) ignores WFI instruction. This means that
PC(Program Counter) passed without any changes. This patch can handle
that case by early wakeup interrupt.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
[kgene.kim@samsung.com: fixed return of exynos4_cpu_suspend()]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos4/pm.c