diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-03-27 16:55:47 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:32 -0400 |
commit | 3f530709d907d93a4d6881e8190916028181a840 (patch) | |
tree | f57ff25d634c9333a3a5c0587490050cfba87fe5 | |
parent | 468e85b9594ed3000a7076f1caf27aa0cf7799fc (diff) |
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>
-rw-r--r-- | arch/x86/kernel/apic_64.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/mpparse_64.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index 7dd6250aaf6c..0794646e68f0 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c | |||
@@ -85,6 +85,8 @@ static DEFINE_PER_CPU(struct clock_event_device, lapic_events); | |||
85 | 85 | ||
86 | static unsigned long apic_phys; | 86 | static unsigned long apic_phys; |
87 | 87 | ||
88 | unsigned long mp_lapic_addr; | ||
89 | |||
88 | /* | 90 | /* |
89 | * Get the LAPIC version | 91 | * Get the LAPIC version |
90 | */ | 92 | */ |
diff --git a/arch/x86/kernel/mpparse_64.c b/arch/x86/kernel/mpparse_64.c index 4da834e1188e..a91e21ebf1ca 100644 --- a/arch/x86/kernel/mpparse_64.c +++ b/arch/x86/kernel/mpparse_64.c | |||
@@ -55,7 +55,6 @@ struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES]; | |||
55 | int mp_irq_entries; | 55 | int mp_irq_entries; |
56 | 56 | ||
57 | int nr_ioapics; | 57 | int nr_ioapics; |
58 | unsigned long mp_lapic_addr = 0; | ||
59 | 58 | ||
60 | /* Processor that is doing the boot up */ | 59 | /* Processor that is doing the boot up */ |
61 | unsigned int boot_cpu_physical_apicid = -1U; | 60 | unsigned int boot_cpu_physical_apicid = -1U; |