]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sparseirq: fix typo in !CONFIG_IO_APIC case
authorIngo Molnar <mingo@elte.hu>
Mon, 8 Dec 2008 17:47:51 +0000 (18:47 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Dec 2008 17:47:51 +0000 (18:47 +0100)
Impact: build fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/io_apic.h

index b35e94c2d6dfcff1f9ca2ffdef5262488b521294..25d527ca13622cdab95187ef505267a7cf5112a1 100644 (file)
@@ -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 */