diff options
Diffstat (limited to 'arch/x86/kernel/es7000_32.c')
-rw-r--r-- | arch/x86/kernel/es7000_32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/es7000_32.c b/arch/x86/kernel/es7000_32.c index cf53a98dbf10..3dc48831eb95 100644 --- a/arch/x86/kernel/es7000_32.c +++ b/arch/x86/kernel/es7000_32.c | |||
@@ -403,7 +403,6 @@ void __init es7000_enable_apic_mode(void) | |||
403 | 403 | ||
404 | extern void es7000_enable_apic_mode(void); | 404 | extern void es7000_enable_apic_mode(void); |
405 | extern int apic_version [MAX_APICS]; | 405 | extern int apic_version [MAX_APICS]; |
406 | extern u8 cpu_2_logical_apicid[]; | ||
407 | extern unsigned int boot_cpu_physical_apicid; | 406 | extern unsigned int boot_cpu_physical_apicid; |
408 | 407 | ||
409 | extern int parse_unisys_oem (char *oemptr); | 408 | extern int parse_unisys_oem (char *oemptr); |
@@ -570,7 +569,7 @@ static int es7000_cpu_to_logical_apicid(int cpu) | |||
570 | #ifdef CONFIG_SMP | 569 | #ifdef CONFIG_SMP |
571 | if (cpu >= nr_cpu_ids) | 570 | if (cpu >= nr_cpu_ids) |
572 | return BAD_APICID; | 571 | return BAD_APICID; |
573 | return (int)cpu_2_logical_apicid[cpu]; | 572 | return cpu_2_logical_apicid[cpu]; |
574 | #else | 573 | #else |
575 | return logical_smp_processor_id(); | 574 | return logical_smp_processor_id(); |
576 | #endif | 575 | #endif |