Skip to content

Commit

Permalink
x86: Add dummy mp_save_irq()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Henrik Kretzschmar authored and Ingo Molnar committed Feb 23, 2011
1 parent 4e034b2 commit b6a1432
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/include/asm/io_apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit b6a1432

Please sign in to comment.