Commit 902ef5d7 authored by Srinidhi Kasagar's avatar Srinidhi Kasagar Committed by Rob Herring

ARM: mach-ux500: use SGI0 to wake up the other core

The commit 7d28e3ea
("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: default avatarsrinidhi kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarOlof Johansson <olof@lixom.net>
parent 73171d15
......@@ -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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment