From: Magnus Damm Date: Fri, 6 Jul 2012 08:20:05 +0000 (+0900) Subject: ARM: shmobile: fix platsmp.c build when ARCH_SH73A0=n X-Git-Tag: v3.5-rc7~27^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=873e9f7a3b8a5ca36085437da364654bfe3e5974;p=pandora-kernel.git 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 Tested-by: Tested-by: Simon Horman Acked-by: "Rafael J. Wysocki" Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed