浏览代码

x86: move boot_cpu_physical_apicid to apic_64.c

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Alexey Starikovskiy 17 年之前
父节点
当前提交
86cc0d916a
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 4 0
      arch/x86/kernel/apic_64.c
  2. 0 4
      arch/x86/kernel/mpparse_64.c

+ 4 - 0
arch/x86/kernel/apic_64.c

@@ -87,6 +87,10 @@ static unsigned long apic_phys;
 
 unsigned long mp_lapic_addr;
 
+/* Processor that is doing the boot up */
+unsigned int boot_cpu_physical_apicid = -1U;
+EXPORT_SYMBOL(boot_cpu_physical_apicid);
+
 /*
  * Get the LAPIC version
  */

+ 0 - 4
arch/x86/kernel/mpparse_64.c

@@ -56,10 +56,6 @@ int mp_irq_entries;
 
 int nr_ioapics;
 
-/* Processor that is doing the boot up */
-unsigned int boot_cpu_physical_apicid = -1U;
-EXPORT_SYMBOL(boot_cpu_physical_apicid);
-
 #ifdef CONFIG_SMP
 u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata
     = {[0 ... NR_CPUS - 1] = BAD_APICID };