x86: unstatic mp_find_ioapic so it can be used elsewhere
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 9 Feb 2009 20:05:47 +0000 (12:05 -0800)
committerJeremy Fitzhardinge <jeremy@goop.org>
Mon, 9 Feb 2009 22:04:19 +0000 (14:04 -0800)
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/include/asm/mpspec.h
arch/x86/kernel/acpi/boot.c

index 8c5620147c4005ba243f7bb6c736d5d0eaf4f792..b59371a312f162a0760b17d65c2ef236a7fab48b 100644 (file)
@@ -77,6 +77,7 @@ extern int acpi_probe_gsi(void);
 #ifdef CONFIG_X86_IO_APIC
 extern int mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin,
                                u32 gsi, int triggering, int polarity);
+extern int mp_find_ioapic(int gsi);
 #else
 static inline int
 mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin,
index c334fe75dcd63f90e042ca8aa871bd77d93e93d0..068b900f4b0639a7109dd2116767ec4645d12b4b 100644 (file)
@@ -872,7 +872,7 @@ static struct {
        DECLARE_BITMAP(pin_programmed, MP_MAX_IOAPIC_PIN + 1);
 } mp_ioapic_routing[MAX_IO_APICS];
 
-static int mp_find_ioapic(int gsi)
+int mp_find_ioapic(int gsi)
 {
        int i = 0;