diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-09 15:05:47 -0500 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-09 17:04:19 -0500 |
commit | 4924e228ae039029a9503ad571d91086e4042c90 (patch) | |
tree | ffd269c280fbca3400aa18bd0b81a0f518999c82 | |
parent | 3c552ac8a747d6c26d13302c54d71dae9f56f4ac (diff) |
x86: unstatic mp_find_ioapic so it can be used elsewhere
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
-rw-r--r-- | arch/x86/include/asm/mpspec.h | 1 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mpspec.h b/arch/x86/include/asm/mpspec.h index 8c5620147c40..b59371a312f1 100644 --- a/arch/x86/include/asm/mpspec.h +++ b/arch/x86/include/asm/mpspec.h | |||
@@ -77,6 +77,7 @@ extern int acpi_probe_gsi(void); | |||
77 | #ifdef CONFIG_X86_IO_APIC | 77 | #ifdef CONFIG_X86_IO_APIC |
78 | extern int mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin, | 78 | extern int mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin, |
79 | u32 gsi, int triggering, int polarity); | 79 | u32 gsi, int triggering, int polarity); |
80 | extern int mp_find_ioapic(int gsi); | ||
80 | #else | 81 | #else |
81 | static inline int | 82 | static inline int |
82 | mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin, | 83 | mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin, |
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index c334fe75dcd6..068b900f4b06 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
@@ -872,7 +872,7 @@ static struct { | |||
872 | DECLARE_BITMAP(pin_programmed, MP_MAX_IOAPIC_PIN + 1); | 872 | DECLARE_BITMAP(pin_programmed, MP_MAX_IOAPIC_PIN + 1); |
873 | } mp_ioapic_routing[MAX_IO_APICS]; | 873 | } mp_ioapic_routing[MAX_IO_APICS]; |
874 | 874 | ||
875 | static int mp_find_ioapic(int gsi) | 875 | int mp_find_ioapic(int gsi) |
876 | { | 876 | { |
877 | int i = 0; | 877 | int i = 0; |
878 | 878 | ||