x86: move boot_cpu_physical_apicid to apic_32.c
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Thu, 27 Mar 2008 20:55:10 +0000 (23:55 +0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:31 +0000 (17:41 +0200)
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic_32.c
arch/x86/kernel/mpparse_32.c

index 68ea75fa6d35640984ff52951399f48ef58810dc..f0abd59a2a3c5caceb198a71112db9b236fe37c9 100644 (file)
@@ -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.
  *
index e5376dc5d0ccc817fb9bc1dfe7e8b7d0014dbe81..9143810bb63711ec149e96f0fc1a55c36d521cd5 100644 (file)
@@ -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: */