diff options
Diffstat (limited to 'arch/arm/mach-ux500/platsmp.c')
-rw-r--r-- | arch/arm/mach-ux500/platsmp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c index 3db7782f3afb..b8adac93421f 100644 --- a/arch/arm/mach-ux500/platsmp.c +++ b/arch/arm/mach-ux500/platsmp.c | |||
@@ -16,9 +16,9 @@ | |||
16 | #include <linux/device.h> | 16 | #include <linux/device.h> |
17 | #include <linux/smp.h> | 17 | #include <linux/smp.h> |
18 | #include <linux/io.h> | 18 | #include <linux/io.h> |
19 | #include <linux/irqchip/arm-gic.h> | ||
19 | 20 | ||
20 | #include <asm/cacheflush.h> | 21 | #include <asm/cacheflush.h> |
21 | #include <asm/hardware/gic.h> | ||
22 | #include <asm/smp_plat.h> | 22 | #include <asm/smp_plat.h> |
23 | #include <asm/smp_scu.h> | 23 | #include <asm/smp_scu.h> |
24 | #include <mach/hardware.h> | 24 | #include <mach/hardware.h> |
@@ -91,7 +91,7 @@ static int __cpuinit ux500_boot_secondary(unsigned int cpu, struct task_struct * | |||
91 | */ | 91 | */ |
92 | write_pen_release(cpu_logical_map(cpu)); | 92 | write_pen_release(cpu_logical_map(cpu)); |
93 | 93 | ||
94 | smp_send_reschedule(cpu); | 94 | arch_send_wakeup_ipi_mask(cpumask_of(cpu)); |
95 | 95 | ||
96 | timeout = jiffies + (1 * HZ); | 96 | timeout = jiffies + (1 * HZ); |
97 | while (time_before(jiffies, timeout)) { | 97 | while (time_before(jiffies, timeout)) { |
@@ -155,8 +155,6 @@ static void __init ux500_smp_init_cpus(void) | |||
155 | 155 | ||
156 | for (i = 0; i < ncores; i++) | 156 | for (i = 0; i < ncores; i++) |
157 | set_cpu_possible(i, true); | 157 | set_cpu_possible(i, true); |
158 | |||
159 | set_smp_cross_call(gic_raise_softirq); | ||
160 | } | 158 | } |
161 | 159 | ||
162 | static void __init ux500_smp_prepare_cpus(unsigned int max_cpus) | 160 | static void __init ux500_smp_prepare_cpus(unsigned int max_cpus) |