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
2 changed files with 4 additions and 3 deletions
|
@ -52,6 +52,9 @@
|
|||
|
||||
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.
|
||||
*
|
||||
|
|
|
@ -61,13 +61,11 @@ int nr_ioapics;
|
|||
|
||||
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: */
|
||||
#ifndef CONFIG_X86_SMP
|
||||
unsigned int num_processors;
|
||||
unsigned disabled_cpus __cpuinitdata;
|
||||
unsigned int boot_cpu_physical_apicid = -1U;
|
||||
#endif
|
||||
|
||||
/* Make it easy to share the UP and SMP code: */
|
||||
|
|
Loading…
Reference in a new issue