aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/acpi/boot.c2
-rw-r--r--arch/x86/kernel/mpparse_32.c7
-rw-r--r--arch/x86/kernel/mpparse_64.c7
3 files changed, 4 insertions, 12 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index b33ebf6ea4f1..9cf575184536 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -320,6 +320,8 @@ acpi_parse_lapic_nmi(struct acpi_subtable_header * header, const unsigned long e
320 320
321#ifdef CONFIG_X86_IO_APIC 321#ifdef CONFIG_X86_IO_APIC
322 322
323struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS];
324
323static int __init 325static int __init
324acpi_parse_ioapic(struct acpi_subtable_header * header, const unsigned long end) 326acpi_parse_ioapic(struct acpi_subtable_header * header, const unsigned long end)
325{ 327{
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c
index 302253cbfc6a..b6f1e4e235e3 100644
--- a/arch/x86/kernel/mpparse_32.c
+++ b/arch/x86/kernel/mpparse_32.c
@@ -837,12 +837,7 @@ void __cpuinit mp_register_lapic (int id, u8 enabled)
837#define MP_ISA_BUS 0 837#define MP_ISA_BUS 0
838#define MP_MAX_IOAPIC_PIN 127 838#define MP_MAX_IOAPIC_PIN 127
839 839
840static struct mp_ioapic_routing { 840extern struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS];
841 int apic_id;
842 int gsi_base;
843 int gsi_end;
844 u32 pin_programmed[4];
845} mp_ioapic_routing[MAX_IO_APICS];
846 841
847static int mp_find_ioapic (int gsi) 842static int mp_find_ioapic (int gsi)
848{ 843{
diff --git a/arch/x86/kernel/mpparse_64.c b/arch/x86/kernel/mpparse_64.c
index f1015bf53cf0..813057cb2ddb 100644
--- a/arch/x86/kernel/mpparse_64.c
+++ b/arch/x86/kernel/mpparse_64.c
@@ -630,12 +630,7 @@ void __cpuinit mp_register_lapic(int id, u8 enabled)
630#define MP_ISA_BUS 0 630#define MP_ISA_BUS 0
631#define MP_MAX_IOAPIC_PIN 127 631#define MP_MAX_IOAPIC_PIN 127
632 632
633static struct mp_ioapic_routing { 633extern struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS];
634 int apic_id;
635 int gsi_base;
636 int gsi_end;
637 u32 pin_programmed[4];
638} mp_ioapic_routing[MAX_IO_APICS];
639 634
640static int mp_find_ioapic(int gsi) 635static int mp_find_ioapic(int gsi)
641{ 636{