diff options
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 7 | ||||
-rw-r--r-- | include/asm-x86/io_apic.h | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index b2ad09c4c6ae..f75c2030f4b5 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
@@ -852,7 +852,12 @@ static int __init acpi_parse_madt_lapic_entries(void) | |||
852 | extern int es7000_plat; | 852 | extern int es7000_plat; |
853 | #endif | 853 | #endif |
854 | 854 | ||
855 | static struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS]; | 855 | static struct { |
856 | int apic_id; | ||
857 | int gsi_base; | ||
858 | int gsi_end; | ||
859 | DECLARE_BITMAP(pin_programmed, MP_MAX_IOAPIC_PIN + 1); | ||
860 | } mp_ioapic_routing[MAX_IO_APICS]; | ||
856 | 861 | ||
857 | static int mp_find_ioapic(int gsi) | 862 | static int mp_find_ioapic(int gsi) |
858 | { | 863 | { |
diff --git a/include/asm-x86/io_apic.h b/include/asm-x86/io_apic.h index d593e14f0341..2ef96f0596e2 100644 --- a/include/asm-x86/io_apic.h +++ b/include/asm-x86/io_apic.h | |||
@@ -112,13 +112,6 @@ extern int nr_ioapic_registers[MAX_IO_APICS]; | |||
112 | 112 | ||
113 | #define MP_MAX_IOAPIC_PIN 127 | 113 | #define MP_MAX_IOAPIC_PIN 127 |
114 | 114 | ||
115 | struct mp_ioapic_routing { | ||
116 | int apic_id; | ||
117 | int gsi_base; | ||
118 | int gsi_end; | ||
119 | DECLARE_BITMAP(pin_programmed, MP_MAX_IOAPIC_PIN + 1); | ||
120 | }; | ||
121 | |||
122 | /* I/O APIC entries */ | 115 | /* I/O APIC entries */ |
123 | extern struct mpc_config_ioapic mp_ioapics[MAX_IO_APICS]; | 116 | extern struct mpc_config_ioapic mp_ioapics[MAX_IO_APICS]; |
124 | 117 | ||