diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap-smp.c')
| -rw-r--r-- | arch/arm/mach-omap2/omap-smp.c | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm/mach-omap2/omap-smp.c index cd42d921940..d9727218dd0 100644 --- a/arch/arm/mach-omap2/omap-smp.c +++ b/arch/arm/mach-omap2/omap-smp.c @@ -19,9 +19,9 @@  #include <linux/device.h>  #include <linux/smp.h>  #include <linux/io.h> +#include <linux/irqchip/arm-gic.h>  #include <asm/cacheflush.h> -#include <asm/hardware/gic.h>  #include <asm/smp_scu.h>  #include "omap-secure.h" @@ -157,7 +157,7 @@ static int __cpuinit omap4_boot_secondary(unsigned int cpu, struct task_struct *  		booted = true;  	} -	gic_raise_softirq(cpumask_of(cpu), 0); +	arch_send_wakeup_ipi_mask(cpumask_of(cpu));  	/*  	 * Now the secondary core is starting up let it run its @@ -215,7 +215,7 @@ static void __init omap4_smp_init_cpus(void)  		 * Currently we can't call ioremap here because  		 * SoC detection won't work until after init_early.  		 */ -		scu_base =  OMAP2_L4_IO_ADDRESS(OMAP44XX_SCU_BASE); +		scu_base =  OMAP2_L4_IO_ADDRESS(scu_a9_get_base());  		BUG_ON(!scu_base);  		ncores = scu_get_core_count(scu_base);  	} else if (cpu_id == CPU_CORTEX_A15) { @@ -231,8 +231,6 @@ static void __init omap4_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 omap4_smp_prepare_cpus(unsigned int max_cpus)  |