summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-05-14 17:03:04 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 10:55:12 +0200
commit5f8951487ddbacbc949e9ffae574f94791f9b4dd (patch)
treec400f3621799d50c3ef1c4df69d18bac66eb2549 /arch
parentx86: complete move ACPI from mpparse.c (diff)
downloadlinux-5f8951487ddbacbc949e9ffae574f94791f9b4dd.tar.xz
linux-5f8951487ddbacbc949e9ffae574f94791f9b4dd.zip
x86: make mp_ioapic_routing definition local
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/acpi/boot.c7
1 files changed, 6 insertions, 1 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)
extern int es7000_plat;
#endif
-static struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS];
+static struct {
+ int apic_id;
+ int gsi_base;
+ int gsi_end;
+ DECLARE_BITMAP(pin_programmed, MP_MAX_IOAPIC_PIN + 1);
+} mp_ioapic_routing[MAX_IO_APICS];
static int mp_find_ioapic(int gsi)
{