Przeglądaj źródła

x86: mpparse, move boot cpu physical apicid to apic_32.c, fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 17 lat temu
rodzic
commit
fae9811b77
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      arch/x86/kernel/mpparse_32.c

+ 2 - 0
arch/x86/kernel/mpparse_32.c

@@ -65,8 +65,10 @@ int pic_mode;
 #ifndef CONFIG_X86_SMP
 unsigned int num_processors;
 unsigned disabled_cpus __cpuinitdata;
+#ifndef CONFIG_X86_LOCAL_APIC
 unsigned int boot_cpu_physical_apicid = -1U;
 #endif
+#endif
 
 /* Make it easy to share the UP and SMP code: */
 #ifndef CONFIG_X86_SMP