ARM: hotplug cpu: move secondary_startup, __enable_mmu to cpuinit
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Oct 2010 16:56:13 +0000 (17:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 Oct 2010 09:07:35 +0000 (10:07 +0100)
commit00945010c063b95e813b966f44bf58ffa1955a38
treeb5f85a613747fb62c5f2e00d5aecd9a3c9fec69e
parent786f1b73f7d5cad5c88dc75a96d53a74160aa7d7
ARM: hotplug cpu: move secondary_startup, __enable_mmu to cpuinit

Move these two functions, both of which are required for secondary
CPU booting, into the cpuinit section.  Ensure bad processors call
__error_p for better diagnostics, rather than just __error.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head.S