提交 50dd94e0 编写于 作者: I Ingo Molnar

sparseirq: fix typo in !CONFIG_IO_APIC case

Impact: build fix
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 3145e941
......@@ -193,12 +193,9 @@ extern void probe_nr_irqs_gsi(void);
#else /* !CONFIG_X86_IO_APIC */
#define io_apic_assign_pci_irqs 0
static const int timer_through_8259 = 0;
static inline void ioapic_init_mappings(void) { }
static inline void ioapic_init_mappings(void) { }
static inline int probe_nr_irqs(void)
{
return NR_IRQS;
}
static inline void probe_nr_irqs_gsi(void) { }
#endif
#endif /* _ASM_X86_IO_APIC_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册