Commit 4924e228 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge

x86: unstatic mp_find_ioapic so it can be used elsewhere

Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent 3c552ac8
...@@ -77,6 +77,7 @@ extern int acpi_probe_gsi(void); ...@@ -77,6 +77,7 @@ extern int acpi_probe_gsi(void);
#ifdef CONFIG_X86_IO_APIC #ifdef CONFIG_X86_IO_APIC
extern int mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin, extern int mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin,
u32 gsi, int triggering, int polarity); u32 gsi, int triggering, int polarity);
extern int mp_find_ioapic(int gsi);
#else #else
static inline int static inline int
mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin, mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin,
......
...@@ -872,7 +872,7 @@ static struct { ...@@ -872,7 +872,7 @@ static struct {
DECLARE_BITMAP(pin_programmed, MP_MAX_IOAPIC_PIN + 1); DECLARE_BITMAP(pin_programmed, MP_MAX_IOAPIC_PIN + 1);
} mp_ioapic_routing[MAX_IO_APICS]; } mp_ioapic_routing[MAX_IO_APICS];
static int mp_find_ioapic(int gsi) int mp_find_ioapic(int gsi)
{ {
int i = 0; int i = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment