Commit 837e0e7a authored by Alexey Starikovskiy's avatar Alexey Starikovskiy Committed by Ingo Molnar

x86: move boot_cpu_physical_apicid to apic_32.c

Signed-off-by: default avatarAlexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 0c254e38
...@@ -52,6 +52,9 @@ ...@@ -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; ...@@ -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: */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment