Browse Source

x86: move mp_lapic_addr to apic_64.c

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Alexey Starikovskiy 17 years ago
parent
commit
3f530709d9
2 changed files with 2 additions and 1 deletions
  1. 2 0
      arch/x86/kernel/apic_64.c
  2. 0 1
      arch/x86/kernel/mpparse_64.c

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

@@ -85,6 +85,8 @@ static DEFINE_PER_CPU(struct clock_event_device, lapic_events);
 
 static unsigned long apic_phys;
 
+unsigned long mp_lapic_addr;
+
 /*
  * Get the LAPIC version
  */

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

@@ -55,7 +55,6 @@ struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES];
 int mp_irq_entries;
 
 int nr_ioapics;
-unsigned long mp_lapic_addr = 0;
 
 /* Processor that is doing the boot up */
 unsigned int boot_cpu_physical_apicid = -1U;