Skip to content

Commit

Permalink
tile/CPU hotplug: Add missing call to notify_cpu_starting()
Browse files Browse the repository at this point in the history
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: Chris Metcalf <cmetcalf@tilera.com>
  • Loading branch information
Srivatsa S. Bhat authored and Chris Metcalf committed Apr 9, 2012
1 parent 0034102 commit d164013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/tile/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d164013

Please sign in to comment.