diff options
author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2012-03-22 07:28:25 -0400 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2012-04-23 13:57:11 -0400 |
commit | 57f27cca7ab59cec05adc85cef97e9b4f7d28d78 (patch) | |
tree | 132f2baff23e21c6c6e2e73b2e3285317a36c0cf /arch | |
parent | e8e42a5cff0704e83151455307a9b0d78fb43b93 (diff) |
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: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/hexagon/kernel/smp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/hexagon/kernel/smp.c b/arch/hexagon/kernel/smp.c index 9b44a9e2d05a..0672463df20c 100644 --- a/arch/hexagon/kernel/smp.c +++ b/arch/hexagon/kernel/smp.c | |||
@@ -177,7 +177,12 @@ void __cpuinit start_secondary(void) | |||
177 | 177 | ||
178 | printk(KERN_INFO "%s cpu %d\n", __func__, current_thread_info()->cpu); | 178 | printk(KERN_INFO "%s cpu %d\n", __func__, current_thread_info()->cpu); |
179 | 179 | ||
180 | notify_cpu_starting(cpu); | ||
181 | |||
182 | ipi_call_lock(); | ||
180 | set_cpu_online(cpu, true); | 183 | set_cpu_online(cpu, true); |
184 | ipi_call_unlock(); | ||
185 | |||
181 | local_irq_enable(); | 186 | local_irq_enable(); |
182 | 187 | ||
183 | cpu_idle(); | 188 | cpu_idle(); |