diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-06-03 08:42:06 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-03 08:44:42 -0400 |
commit | 835fc943f34139ed062f1ac194b52ed3b7123d88 (patch) | |
tree | 97f4bc6efe85e45d45fd09f183c42cc856077d06 /include/asm-x86/mpspec.h | |
parent | c8c034ce79418d2143c00c4cf751cfa51701f788 (diff) |
x86: mp build fix
fix:
drivers/built-in.o: In function `acpi_pci_irq_enable':
: undefined reference to `mp_config_acpi_gsi'
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/mpspec.h')
-rw-r--r-- | include/asm-x86/mpspec.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-x86/mpspec.h b/include/asm-x86/mpspec.h index 6a34d6dfd042..dbbf363dafb5 100644 --- a/include/asm-x86/mpspec.h +++ b/include/asm-x86/mpspec.h | |||
@@ -49,8 +49,17 @@ extern void mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, | |||
49 | extern void mp_config_acpi_legacy_irqs(void); | 49 | extern void mp_config_acpi_legacy_irqs(void); |
50 | extern int mp_register_gsi(u32 gsi, int edge_level, int active_high_low); | 50 | extern int mp_register_gsi(u32 gsi, int edge_level, int active_high_low); |
51 | extern void MP_intsrc_info(struct mpc_config_intsrc *m); | 51 | extern void MP_intsrc_info(struct mpc_config_intsrc *m); |
52 | #ifdef CONFIG_X86_IO_APIC | ||
52 | extern int mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin, | 53 | extern int mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin, |
53 | u32 gsi, int triggering, int polarity); | 54 | u32 gsi, int triggering, int polarity); |
55 | #else | ||
56 | static inline int | ||
57 | mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin, | ||
58 | u32 gsi, int triggering, int polarity) | ||
59 | { | ||
60 | return 0; | ||
61 | } | ||
62 | #endif | ||
54 | #endif /* CONFIG_ACPI */ | 63 | #endif /* CONFIG_ACPI */ |
55 | 64 | ||
56 | #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS) | 65 | #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS) |