Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)) {