original_kernel/arch/arm/mach-shmobile
Magnus Damm 873e9f7a3b ARM: shmobile: fix platsmp.c build when ARCH_SH73A0=n
Fix build error in the case of SMP=y but ARCH_SH73A0=n
introduced by:

9601e87 ARM: shmobile: fix smp build

The use of of_machine_is_compatible() will link in the
the SoC-specific symbols:
"sh73a0_get_core_count", "sh73a0_smp_prepare_cpus",
"sh73a0_secondary_init" and "sh73a0_boot_secondary".

This patch adds an ugly #ifdef wrapper as a stop-gap
solution.

Signed-off-by: Magnus Damm <damm@opensource.se>
Tested-by: Tested-by: Simon Horman <horms@verge.net.au>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2012-07-06 22:00:20 +02:00
..
include/mach
Kconfig
Makefile
Makefile.boot
board-ag5evm.c
board-ap4evb.c
board-armadillo800eva.c
board-bonito.c
board-g3evm.c
board-g4evm.c
board-kota2.c
board-kzm9d.c
board-kzm9g.c
board-mackerel.c
board-marzen.c
clock-emev2.c
clock-r8a7740.c
clock-r8a7779.c
clock-sh73a0.c
clock-sh7367.c
clock-sh7372.c
clock-sh7377.c
clock.c
common.c
console.c
cpuidle.c
entry-intc.S
headsmp.S
hotplug.c
intc-r8a7740.c
intc-r8a7779.c
intc-sh73a0.c
intc-sh7367.c
intc-sh7372.c
intc-sh7377.c
pfc-r8a7740.c
pfc-r8a7779.c
pfc-sh73a0.c
pfc-sh7367.c
pfc-sh7372.c
pfc-sh7377.c
platsmp.c
pm-r8a7779.c
pm-sh7372.c
setup-emev2.c
setup-r8a7740.c
setup-r8a7779.c
setup-sh73a0.c
setup-sh7367.c
setup-sh7372.c
setup-sh7377.c
sleep-sh7372.S
smp-emev2.c
smp-r8a7779.c
smp-sh73a0.c
suspend.c
timer.c