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

Commit 57f27cca authored by Srivatsa S. Bhat's avatar Srivatsa S. Bhat Committed by Richard Kuo
Browse files

hexagon/CPU hotplug: Add missing call to notify_cpu_starting()



The scheduler depends on receiving the CPU_STARTING notification, without
which we end up into a lot of trouble. So add the missing call to
notify_cpu_starting() in the bringup code.

Signed-off-by: default avatarSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: default avatarRichard Kuo <rkuo@codeaurora.org>
parent e8e42a5c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -177,7 +177,12 @@ void __cpuinit start_secondary(void)

	printk(KERN_INFO "%s cpu %d\n", __func__, current_thread_info()->cpu);

	notify_cpu_starting(cpu);

	ipi_call_lock();
	set_cpu_online(cpu, true);
	ipi_call_unlock();

	local_irq_enable();

	cpu_idle();