aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-04-04 15:40:32 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:34 -0400
commitaf926a5830079bf36253dcf3a1b75b1497fc7fd1 (patch)
treebf6125205ac91fd043f424441a8a63acd8957fac /arch
parentd61ecf0b53131564949bc4196e70f676000a845a (diff)
x86: move x86_bios_cpu_apicid to io_apic_64.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/apic_64.c3
-rw-r--r--arch/x86/kernel/genapic_64.c2
-rw-r--r--arch/x86/kernel/mpparse_64.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c
index 8b0fad47a5d..274ebabf49a 100644
--- a/arch/x86/kernel/apic_64.c
+++ b/arch/x86/kernel/apic_64.c
@@ -91,6 +91,9 @@ unsigned long mp_lapic_addr;
91unsigned int boot_cpu_physical_apicid = -1U; 91unsigned int boot_cpu_physical_apicid = -1U;
92EXPORT_SYMBOL(boot_cpu_physical_apicid); 92EXPORT_SYMBOL(boot_cpu_physical_apicid);
93 93
94DEFINE_PER_CPU(u16, x86_bios_cpu_apicid) = BAD_APICID;
95EXPORT_PER_CPU_SYMBOL(x86_bios_cpu_apicid);
96
94unsigned int __cpuinitdata maxcpus = NR_CPUS; 97unsigned int __cpuinitdata maxcpus = NR_CPUS;
95/* 98/*
96 * Get the LAPIC version 99 * Get the LAPIC version
diff --git a/arch/x86/kernel/genapic_64.c b/arch/x86/kernel/genapic_64.c
index c9eabe36ee3..7df38c4c857 100644
--- a/arch/x86/kernel/genapic_64.c
+++ b/arch/x86/kernel/genapic_64.c
@@ -31,8 +31,6 @@ u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata
31 = { [0 ... NR_CPUS-1] = BAD_APICID }; 31 = { [0 ... NR_CPUS-1] = BAD_APICID };
32void *x86_cpu_to_apicid_early_ptr; 32void *x86_cpu_to_apicid_early_ptr;
33#endif 33#endif
34DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID;
35EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid);
36DEFINE_PER_CPU(int, x2apic_extra_bits); 34DEFINE_PER_CPU(int, x2apic_extra_bits);
37 35
38struct genapic __read_mostly *genapic = &apic_flat; 36struct genapic __read_mostly *genapic = &apic_flat;
diff --git a/arch/x86/kernel/mpparse_64.c b/arch/x86/kernel/mpparse_64.c
index 4840a846904..378c4ba80b4 100644
--- a/arch/x86/kernel/mpparse_64.c
+++ b/arch/x86/kernel/mpparse_64.c
@@ -60,8 +60,6 @@ u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata
60 = {[0 ... NR_CPUS - 1] = BAD_APICID }; 60 = {[0 ... NR_CPUS - 1] = BAD_APICID };
61void *x86_bios_cpu_apicid_early_ptr; 61void *x86_bios_cpu_apicid_early_ptr;
62#endif 62#endif
63DEFINE_PER_CPU(u16, x86_bios_cpu_apicid) = BAD_APICID;
64EXPORT_PER_CPU_SYMBOL(x86_bios_cpu_apicid);
65 63
66/* Make it easy to share the UP and SMP code: */ 64/* Make it easy to share the UP and SMP code: */
67#ifndef CONFIG_X86_SMP 65#ifndef CONFIG_X86_SMP