diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-08 20:47:51 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-08 20:47:51 +0300 |
commit | 50dd94e017ec39f85c26b6c10ed9fb2d7a7d8042 (patch) | |
tree | 18686977257420009f3d40ab3c97c3b1a4d476b4 /arch/x86/include/asm/io_apic.h | |
parent | 3145e941fcfe2548fa2270afb1a05bab3a6bc418 (diff) | |
download | linux-50dd94e017ec39f85c26b6c10ed9fb2d7a7d8042.tar.xz |
sparseirq: fix typo in !CONFIG_IO_APIC case
Impact: build fix
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/io_apic.h')
-rw-r--r-- | arch/x86/include/asm/io_apic.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/x86/include/asm/io_apic.h b/arch/x86/include/asm/io_apic.h index b35e94c2d6df..25d527ca1362 100644 --- a/arch/x86/include/asm/io_apic.h +++ b/arch/x86/include/asm/io_apic.h @@ -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 */ |