diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-03-19 13:25:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:00 -0400 |
commit | cbe879fc6c77b5751a91167654b75a39421d0f3f (patch) | |
tree | aa06f7b0979dd1365ad97ba7779078c625cee41b /arch | |
parent | 7e1efc0cde2a266fc31932ea7aed4bb20f524544 (diff) |
x86: define bios to apicid mapping
This mapping already exists in x86_64, just provide it for
i386
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/smpboot_32.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c index 0e86ccc90d82..92a5df6190b5 100644 --- a/arch/x86/kernel/smpboot_32.c +++ b/arch/x86/kernel/smpboot_32.c | |||
@@ -70,6 +70,12 @@ void *x86_cpu_to_apicid_early_ptr; | |||
70 | DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID; | 70 | DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID; |
71 | EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid); | 71 | EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid); |
72 | 72 | ||
73 | u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata | ||
74 | = { [0 ... NR_CPUS-1] = BAD_APICID }; | ||
75 | void *x86_bios_cpu_apicid_early_ptr; | ||
76 | DEFINE_PER_CPU(u16, x86_bios_cpu_apicid) = BAD_APICID; | ||
77 | EXPORT_PER_CPU_SYMBOL(x86_bios_cpu_apicid); | ||
78 | |||
73 | u8 apicid_2_node[MAX_APICID]; | 79 | u8 apicid_2_node[MAX_APICID]; |
74 | 80 | ||
75 | static void map_cpu_to_logical_apicid(void); | 81 | static void map_cpu_to_logical_apicid(void); |