aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mpspec.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-09 12:05:47 -0800
committerJeremy Fitzhardinge <jeremy@goop.org>2009-02-09 14:04:26 -0800
commitc3e137d1e882c4fab9adcce7ae2be9bf3eb64c4c (patch)
tree7451219c94644303457d0522d9366b802e33f7ea /arch/x86/include/asm/mpspec.h
parentx86: unstatic mp_find_ioapic so it can be used elsewhere (diff)
downloadlinux-dev-c3e137d1e882c4fab9adcce7ae2be9bf3eb64c4c.tar.xz
linux-dev-c3e137d1e882c4fab9adcce7ae2be9bf3eb64c4c.zip
x86: add mp_find_ioapic_pin
Add mp_find_ioapic_pin() to find an IO APIC's specific pin from a GSI, and use this function within acpi/boot. Make it non-static so other code can use it too. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/include/asm/mpspec.h')
-rw-r--r--arch/x86/include/asm/mpspec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mpspec.h b/arch/x86/include/asm/mpspec.h
index b59371a312f1..5916c8df09d9 100644
--- a/arch/x86/include/asm/mpspec.h
+++ b/arch/x86/include/asm/mpspec.h
@@ -78,6 +78,7 @@ extern int acpi_probe_gsi(void);
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);
+extern int mp_find_ioapic_pin(int ioapic, int gsi);
#else
static inline int
mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin,