[tip:x86/apic] x86: Add dummy mp_save_irq()

From: tip-bot for Henrik Kretzschmar
Date: Wed Feb 23 2011 - 07:08:13 EST


Commit-ID: b6a1432da81fa387d76215108dc9f6ea6d343aed
Gitweb: http://git.kernel.org/tip/b6a1432da81fa387d76215108dc9f6ea6d343aed
Author: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx>
AuthorDate: Tue, 22 Feb 2011 15:38:04 +0100
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Wed, 23 Feb 2011 11:38:45 +0100

x86: Add dummy mp_save_irq()

This is a dummy function, used when no IOAPIC is compiled in.

Signed-off-by: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx>
LKML-Reference: <1298385487-4708-2-git-send-email-henne@xxxxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
arch/x86/include/asm/io_apic.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/include/asm/io_apic.h b/arch/x86/include/asm/io_apic.h
index e1a9b0e..b24915f 100644
--- a/arch/x86/include/asm/io_apic.h
+++ b/arch/x86/include/asm/io_apic.h
@@ -188,6 +188,7 @@ static inline int mp_find_ioapic(u32 gsi) { return 0; }
struct io_apic_irq_attr;
static inline int io_apic_set_pci_routing(struct device *dev, int irq,
struct io_apic_irq_attr *irq_attr) { return 0; }
+static inline void mp_save_irq(struct mpc_intsrc *m) { };
#endif

#endif /* _ASM_X86_IO_APIC_H */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/