ARM: pm: arrange for cpu_proc_init() to be called on resume
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Jun 2011 17:57:31 +0000 (18:57 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 24 Jun 2011 07:47:12 +0000 (08:47 +0100)
commitb69874e4f530b0103e507f695c010d00cb85a4df
treefbb34a24796eab26046ea54138ef14a244d920bc
parent111b20d01346b9635b3223c7af4e40e43bee8dc6
ARM: pm: arrange for cpu_proc_init() to be called on resume

cpu_proc_init() does processor specific initialization, which we do
at boot time.  We have been omitting to do this on resume, which
causes some of this initialization to be skipped.  We've also been
skipping this on SMP initialization too.

Ensure that cpu_proc_init() is always called appropriately by
moving it into cpu_init(), and move cpu_init() to a more appropriate
point in the boot initialization.

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/setup.c
arch/arm/mm/proc-sa1100.S