ARM: pm: move cpu_init() call into core code
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Jun 2011 15:32:58 +0000 (16:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 24 Jun 2011 07:48:43 +0000 (08:48 +0100)
commit14cd8fd574bce1cfbe510ccb1f73c7c1024d770f
treed50ddf743969ac54898b3cc3053c52bfa95d1690
parente8856a8797e76e6883ae81f8f9ecbb231cc535df
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>
arch/arm/kernel/sleep.S
arch/arm/mach-pxa/pm.c
arch/arm/mach-sa1100/pm.c
arch/arm/plat-samsung/pm.c