diff options
Diffstat (limited to 'arch/x86/kernel/mpparse.c')
-rw-r--r-- | arch/x86/kernel/mpparse.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index 5a18b2b9852e..ff1342325efc 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
@@ -793,15 +793,14 @@ void __init find_smp_config(void) | |||
793 | ACPI-based MP Configuration | 793 | ACPI-based MP Configuration |
794 | -------------------------------------------------------------------------- */ | 794 | -------------------------------------------------------------------------- */ |
795 | 795 | ||
796 | /* | ||
797 | * Keep this outside and initialized to 0, for !CONFIG_ACPI builds: | ||
798 | */ | ||
799 | int es7000_plat; | ||
800 | |||
801 | #ifdef CONFIG_ACPI | 796 | #ifdef CONFIG_ACPI |
802 | 797 | ||
803 | #ifdef CONFIG_X86_IO_APIC | 798 | #ifdef CONFIG_X86_IO_APIC |
804 | 799 | ||
800 | #if defined(CONFIG_X86_ES7000) || defined(CONFIG_X86_GENERICARCH) | ||
801 | extern int es7000_plat; | ||
802 | #endif | ||
803 | |||
805 | #define MP_ISA_BUS 0 | 804 | #define MP_ISA_BUS 0 |
806 | 805 | ||
807 | static struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS]; | 806 | static struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS]; |
@@ -928,11 +927,13 @@ void __init mp_config_acpi_legacy_irqs(void) | |||
928 | set_bit(MP_ISA_BUS, mp_bus_not_pci); | 927 | set_bit(MP_ISA_BUS, mp_bus_not_pci); |
929 | Dprintk("Bus #%d is ISA\n", MP_ISA_BUS); | 928 | Dprintk("Bus #%d is ISA\n", MP_ISA_BUS); |
930 | 929 | ||
930 | #if defined(CONFIG_X86_ES7000) || defined(CONFIG_X86_GENERICARCH) | ||
931 | /* | 931 | /* |
932 | * Older generations of ES7000 have no legacy identity mappings | 932 | * Older generations of ES7000 have no legacy identity mappings |
933 | */ | 933 | */ |
934 | if (es7000_plat == 1) | 934 | if (es7000_plat == 1) |
935 | return; | 935 | return; |
936 | #endif | ||
936 | 937 | ||
937 | /* | 938 | /* |
938 | * Locate the IOAPIC that manages the ISA IRQs (0-15). | 939 | * Locate the IOAPIC that manages the ISA IRQs (0-15). |