diff options
author | Jason Liu <jason.hui@linaro.org> | 2011-12-14 23:17:23 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-01-09 21:10:16 +0800 |
commit | 753b7c065b0805980b701a94cddbe9677b84674f (patch) | |
tree | 244267600f162ecf209038a72d0525309d5ae122 /arch/arm | |
parent | 4d5f2a87940d5e2779d1786404a37f89c42c08a6 (diff) |
fix the smp boot error
Signed-off-by: Jason Liu <jason.hui@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mx6/platsmp.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/smp.h | 10 |
2 files changed, 2 insertions, 10 deletions
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 |