ARM: SMP: consolidate the common parts of smp_prepare_cpus()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 3 Dec 2010 11:09:48 +0000 (11:09 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Dec 2010 15:09:08 +0000 (15:09 +0000)
commit05c74a6cbcfb416286a947668ba32f63d99fe74a
tree96f4dd3d5cbc67b14b93e9630f4f02becaa1a66a
parentaec66ba1f75c2030cf66f5a21d1c81aa83aa5d95
ARM: SMP: consolidate the common parts of smp_prepare_cpus()

There is a certain amount of smp_prepare_cpus() which doesn't belong
in the platform support code - that is, code which is invariant to the
SMP implementation.  Move this code into arch/arm/kernel/smp.c, and
add a platform_ prefix to the original function.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/smp.h
arch/arm/kernel/smp.c
arch/arm/mach-omap2/omap-smp.c
arch/arm/mach-realview/platsmp.c
arch/arm/mach-s5pv310/platsmp.c
arch/arm/mach-tegra/platsmp.c
arch/arm/mach-ux500/platsmp.c
arch/arm/mach-vexpress/platsmp.c