diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-03-19 14:25:19 -0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 17:41:00 +0200 |
commit | cbe879fc6c77b5751a91167654b75a39421d0f3f (patch) | |
tree | aa06f7b0979dd1365ad97ba7779078c625cee41b /include/asm-x86/mach-summit | |
parent | 7e1efc0cde2a266fc31932ea7aed4bb20f524544 (diff) | |
download | kernel_samsung_smdk4412-cbe879fc6c77b5751a91167654b75a39421d0f3f.zip kernel_samsung_smdk4412-cbe879fc6c77b5751a91167654b75a39421d0f3f.tar.gz kernel_samsung_smdk4412-cbe879fc6c77b5751a91167654b75a39421d0f3f.tar.bz2 |
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 'include/asm-x86/mach-summit')
-rw-r--r-- | include/asm-x86/mach-summit/mach_apic.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-x86/mach-summit/mach_apic.h b/include/asm-x86/mach-summit/mach_apic.h index 062c97f..91d7641 100644 --- a/include/asm-x86/mach-summit/mach_apic.h +++ b/include/asm-x86/mach-summit/mach_apic.h @@ -40,7 +40,6 @@ static inline unsigned long check_apicid_present(int bit) #define apicid_cluster(apicid) ((apicid) & XAPIC_DEST_CLUSTER_MASK) -extern u8 bios_cpu_apicid[]; extern u8 cpu_2_logical_apicid[]; static inline void init_apic_ldr(void) @@ -110,7 +109,7 @@ static inline int cpu_to_logical_apicid(int cpu) static inline int cpu_present_to_apicid(int mps_cpu) { if (mps_cpu < NR_CPUS) - return (int)bios_cpu_apicid[mps_cpu]; + return (int)per_cpu(x86_bios_cpu_apicid, mps_cpu); else return BAD_APICID; } |