mirror of https://gitee.com/openkylin/linux.git
x86: move boot_cpu_physical_apicid to apic_32.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
0c254e38d2
commit
837e0e7a7f
|
@ -52,6 +52,9 @@
|
||||||
|
|
||||||
unsigned long mp_lapic_addr;
|
unsigned long mp_lapic_addr;
|
||||||
|
|
||||||
|
/* Processor that is doing the boot up */
|
||||||
|
unsigned int boot_cpu_physical_apicid = -1U;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Knob to control our willingness to enable the local APIC.
|
* Knob to control our willingness to enable the local APIC.
|
||||||
*
|
*
|
||||||
|
|
|
@ -61,13 +61,11 @@ int nr_ioapics;
|
||||||
|
|
||||||
int pic_mode;
|
int pic_mode;
|
||||||
|
|
||||||
/* Processor that is doing the boot up */
|
|
||||||
unsigned int boot_cpu_physical_apicid = -1U;
|
|
||||||
|
|
||||||
/* Make it easy to share the UP and SMP code: */
|
/* Make it easy to share the UP and SMP code: */
|
||||||
#ifndef CONFIG_X86_SMP
|
#ifndef CONFIG_X86_SMP
|
||||||
unsigned int num_processors;
|
unsigned int num_processors;
|
||||||
unsigned disabled_cpus __cpuinitdata;
|
unsigned disabled_cpus __cpuinitdata;
|
||||||
|
unsigned int boot_cpu_physical_apicid = -1U;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Make it easy to share the UP and SMP code: */
|
/* Make it easy to share the UP and SMP code: */
|
||||||
|
|
Loading…
Reference in New Issue