From: Jason Liu Date: Wed, 14 Dec 2011 15:17:23 +0000 (+0800) Subject: fix the smp boot error X-Git-Tag: v3.0.35-fsl~1784 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=921651de2006044c80a5f46167f086be0c53ba03;p=karo-tx-linux.git fix the smp boot error Signed-off-by: Jason Liu --- diff --git a/arch/arm/mach-mx6/platsmp.c b/arch/arm/mach-mx6/platsmp.c index 19d6fce474e7..bf332e6c23da 100644 --- a/arch/arm/mach-mx6/platsmp.c +++ b/arch/arm/mach-mx6/platsmp.c @@ -142,6 +142,8 @@ void __init smp_init_cpus(void) for (i = 0; i < ncores; i++) set_cpu_possible(i, true); + + set_smp_cross_call(gic_raise_softirq); } static void __init wakeup_secondary(void) { diff --git a/arch/arm/plat-mxc/include/mach/smp.h b/arch/arm/plat-mxc/include/mach/smp.h index 8f9250b8e74b..fcc42535dc72 100644 --- a/arch/arm/plat-mxc/include/mach/smp.h +++ b/arch/arm/plat-mxc/include/mach/smp.h @@ -14,15 +14,5 @@ /* Needed for secondary core boot */ extern void mx6_secondary_startup(void); -/*extern u32 mx6_modify_auxcoreboot0(u32 set_mask, u32 clear_mask); -extern void mx6_auxcoreboot_addr(u32 cpu_addr); -extern u32 mx6_read_auxcoreboot0(void);*/ -/* - * We use Soft IRQ1 as the IPI - */ -static inline void smp_cross_call(const struct cpumask *mask, int ipi) -{ - gic_raise_softirq(mask, ipi); -} #endif