diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-03-27 16:56:12 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:32 -0400 |
commit | 86cc0d916a9cc55b0b46a9b31e9379cd3c9e10dc (patch) | |
tree | fb85e125cef900d4bb6e919a1b5322566fa27cd3 | |
parent | 3103623eed1a3ea4a36ee26725842a8038760648 (diff) |
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>
-rw-r--r-- | arch/x86/kernel/apic_64.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/mpparse_64.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index 0794646e68f0..d7d3594f93e3 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c | |||
@@ -87,6 +87,10 @@ static unsigned long apic_phys; | |||
87 | 87 | ||
88 | unsigned long mp_lapic_addr; | 88 | unsigned long mp_lapic_addr; |
89 | 89 | ||
90 | /* Processor that is doing the boot up */ | ||
91 | unsigned int boot_cpu_physical_apicid = -1U; | ||
92 | EXPORT_SYMBOL(boot_cpu_physical_apicid); | ||
93 | |||
90 | /* | 94 | /* |
91 | * Get the LAPIC version | 95 | * Get the LAPIC version |
92 | */ | 96 | */ |
diff --git a/arch/x86/kernel/mpparse_64.c b/arch/x86/kernel/mpparse_64.c index a1d8d4432988..49e3bfe01022 100644 --- a/arch/x86/kernel/mpparse_64.c +++ b/arch/x86/kernel/mpparse_64.c | |||
@@ -56,10 +56,6 @@ int mp_irq_entries; | |||
56 | 56 | ||
57 | int nr_ioapics; | 57 | int nr_ioapics; |
58 | 58 | ||
59 | /* Processor that is doing the boot up */ | ||
60 | unsigned int boot_cpu_physical_apicid = -1U; | ||
61 | EXPORT_SYMBOL(boot_cpu_physical_apicid); | ||
62 | |||
63 | #ifdef CONFIG_SMP | 59 | #ifdef CONFIG_SMP |
64 | u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata | 60 | u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata |
65 | = {[0 ... NR_CPUS - 1] = BAD_APICID }; | 61 | = {[0 ... NR_CPUS - 1] = BAD_APICID }; |