From: Srinidhi Kasagar Date: Fri, 2 Nov 2012 12:44:34 +0000 (+0530) Subject: ARM: mach-ux500: use SGI0 to wake up the other core X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=902ef5d77aeaff43bce8d3ce55c442a12eb71819;p=linux-beck.git ARM: mach-ux500: use SGI0 to wake up the other core The commit 7d28e3eaa1a8e951251b942e7220f97114bd73b9 ("ARM: ux500: wake secondary cpu via resched") makes use of schedule IPI to wake up the secondary core which seems incorrect. Rather use SGI0. Signed-off-by: srinidhi kasagar Signed-off-by: Rob Herring Acked-by: Olof Johansson --- diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c index 3db7782f3afb..79531f1dffbc 100644 --- a/arch/arm/mach-ux500/platsmp.c +++ b/arch/arm/mach-ux500/platsmp.c @@ -91,7 +91,7 @@ static int __cpuinit ux500_boot_secondary(unsigned int cpu, struct task_struct * */ write_pen_release(cpu_logical_map(cpu)); - smp_send_reschedule(cpu); + gic_raise_softirq(cpumask_of(cpu), 0); timeout = jiffies + (1 * HZ); while (time_before(jiffies, timeout)) {