summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorHenrik Kretzschmar <henne@nachtwindheim.de>2011-02-22 15:38:04 +0100
committerIngo Molnar <mingo@elte.hu>2011-02-23 11:38:45 +0100
commitb6a1432da81fa387d76215108dc9f6ea6d343aed (patch)
treefbf79d711d16f973b19f6b54b70bbb637643b8ad /arch/x86
parent4e034b245133adfd006ade5d7a809c9cac4beef9 (diff)
downloadlinux-stable-b6a1432da81fa387d76215108dc9f6ea6d343aed.tar.gz
linux-stable-b6a1432da81fa387d76215108dc9f6ea6d343aed.tar.bz2
linux-stable-b6a1432da81fa387d76215108dc9f6ea6d343aed.zip
x86: Add dummy mp_save_irq()
This is a dummy function, used when no IOAPIC is compiled in. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> LKML-Reference: <1298385487-4708-2-git-send-email-henne@nachtwindheim.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/io_apic.h1
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 e1a9b0ef43b1..b24915fcd6df 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 */