mirror of https://gitee.com/openkylin/linux.git
x86: Move notify_cpu_starting() callback to a later stage
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 <a.p.zijlstra@chello.nl> LKML-Reference: <1269353485.5109.48.camel@twins> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
50d11d190a
commit
8525702409
|
@ -242,8 +242,6 @@ static void __cpuinit smp_callin(void)
|
||||||
end_local_APIC_setup();
|
end_local_APIC_setup();
|
||||||
map_cpu_to_logical_apicid();
|
map_cpu_to_logical_apicid();
|
||||||
|
|
||||||
notify_cpu_starting(cpuid);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Need to setup vector mappings before we enable interrupts.
|
* Need to setup vector mappings before we enable interrupts.
|
||||||
*/
|
*/
|
||||||
|
@ -264,6 +262,8 @@ static void __cpuinit smp_callin(void)
|
||||||
*/
|
*/
|
||||||
smp_store_cpu_info(cpuid);
|
smp_store_cpu_info(cpuid);
|
||||||
|
|
||||||
|
notify_cpu_starting(cpuid);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allow the master to continue.
|
* Allow the master to continue.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue