Browse Source

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>
Alexey Starikovskiy 17 years ago
parent
commit
837e0e7a7f
2 changed files with 4 additions and 3 deletions
  1. 3 0
      arch/x86/kernel/apic_32.c
  2. 1 3
      arch/x86/kernel/mpparse_32.c

+ 3 - 0
arch/x86/kernel/apic_32.c

@@ -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.
  *

+ 1 - 3
arch/x86/kernel/mpparse_32.c

@@ -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: */