Skip to content

Commit

Permalink
x86: Move notify_cpu_starting() callback to a later stage
Browse files Browse the repository at this point in the history
Because we need to have cpu identification things done by the time we run
CPU_STARTING notifiers.

( This init ordering will be relied on by the next fix. )

Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <1269353485.5109.48.camel@twins>
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Apr 2, 2010
1 parent 50d11d1 commit 8525702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ static void __cpuinit smp_callin(void)
end_local_APIC_setup();
map_cpu_to_logical_apicid();

notify_cpu_starting(cpuid);

/*
* Need to setup vector mappings before we enable interrupts.
*/
Expand All @@ -264,6 +262,8 @@ static void __cpuinit smp_callin(void)
*/
smp_store_cpu_info(cpuid);

notify_cpu_starting(cpuid);

/*
* Allow the master to continue.
*/
Expand Down

0 comments on commit 8525702

Please sign in to comment.