提交 837e0e7a 编写于 作者: A Alexey Starikovskiy 提交者: Ingo Molnar

x86: move boot_cpu_physical_apicid to apic_32.c

Signed-off-by: NAlexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册