mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 05:42:36 +00:00
sparseirq: fix typo in !CONFIG_IO_APIC case
Impact: build fix Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
3145e941fc
commit
50dd94e017
1 changed files with 2 additions and 5 deletions
|
@ -193,12 +193,9 @@ extern void probe_nr_irqs_gsi(void);
|
||||||
#else /* !CONFIG_X86_IO_APIC */
|
#else /* !CONFIG_X86_IO_APIC */
|
||||||
#define io_apic_assign_pci_irqs 0
|
#define io_apic_assign_pci_irqs 0
|
||||||
static const int timer_through_8259 = 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)
|
static inline void probe_nr_irqs_gsi(void) { }
|
||||||
{
|
|
||||||
return NR_IRQS;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _ASM_X86_IO_APIC_H */
|
#endif /* _ASM_X86_IO_APIC_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue