summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pm.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-06-21 17:32:58 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-06-24 09:48:43 +0200
commit14cd8fd574bce1cfbe510ccb1f73c7c1024d770f (patch)
treed50ddf743969ac54898b3cc3053c52bfa95d1690 /arch/arm/mach-pxa/pm.c
parentARM: pm: convert cpu_suspend() to a normal function (diff)
downloadlinux-14cd8fd574bce1cfbe510ccb1f73c7c1024d770f.tar.xz
linux-14cd8fd574bce1cfbe510ccb1f73c7c1024d770f.zip
ARM: pm: move cpu_init() call into core code
As we have core code dealing with CPU suspend/resume, we can re-initialize the CPUs exception banked registers via that code rather than having platforms deal with that level of detail. So, move the call to cpu_init() out of platform code into core code. Tested-by: Kevin Hilman <khilman@ti.com> Acked-by: Jean Pihet <j-pihet@ti.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/pm.c')
-rw-r--r--arch/arm/mach-pxa/pm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/pm.c b/arch/arm/mach-pxa/pm.c
index 51e1583265b2..37178a8559b1 100644
--- a/arch/arm/mach-pxa/pm.c
+++ b/arch/arm/mach-pxa/pm.c
@@ -42,7 +42,6 @@ int pxa_pm_enter(suspend_state_t state)
/* *** go zzz *** */
pxa_cpu_pm_fns->enter(state);
- cpu_init();
if (state != PM_SUSPEND_STANDBY && pxa_cpu_pm_fns->restore) {
/* after sleeping, validate the checksum */