From: Srivatsa S. Bhat Date: Thu, 22 Mar 2012 11:29:11 +0000 (+0530) Subject: tile/CPU hotplug: Add missing call to notify_cpu_starting() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d1640130cda146ed925f12434bfe579ee7d80a1c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git tile/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: Srivatsa S. Bhat Signed-off-by: Chris Metcalf --- diff --git a/arch/tile/kernel/smpboot.c b/arch/tile/kernel/smpboot.c index b949edcec200..172aef7d3159 100644 --- a/arch/tile/kernel/smpboot.c +++ b/arch/tile/kernel/smpboot.c @@ -196,6 +196,8 @@ void __cpuinit online_secondary(void) /* This must be done before setting cpu_online_mask */ wmb(); + notify_cpu_starting(smp_processor_id()); + /* * We need to hold call_lock, so there is no inconsistency * between the time smp_call_function() determines number of