diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-12-08 12:47:51 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-12-08 12:47:51 -0500 |
| commit | 50dd94e017ec39f85c26b6c10ed9fb2d7a7d8042 (patch) | |
| tree | 18686977257420009f3d40ab3c97c3b1a4d476b4 | |
| parent | 3145e941fcfe2548fa2270afb1a05bab3a6bc418 (diff) | |
sparseirq: fix typo in !CONFIG_IO_APIC case
Impact: build fix
Signed-off-by: Ingo Molnar <mingo@elte.hu>
| -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); | |||
| 193 | #else /* !CONFIG_X86_IO_APIC */ | 193 | #else /* !CONFIG_X86_IO_APIC */ |
| 194 | #define io_apic_assign_pci_irqs 0 | 194 | #define io_apic_assign_pci_irqs 0 |
| 195 | static const int timer_through_8259 = 0; | 195 | static const int timer_through_8259 = 0; |
| 196 | static inline void ioapic_init_mappings(void) { } | 196 | static inline void ioapic_init_mappings(void) { } |
| 197 | 197 | ||
| 198 | static inline int probe_nr_irqs(void) | 198 | static inline void probe_nr_irqs_gsi(void) { } |
| 199 | { | ||
| 200 | return NR_IRQS; | ||
| 201 | } | ||
| 202 | #endif | 199 | #endif |
| 203 | 200 | ||
| 204 | #endif /* _ASM_X86_IO_APIC_H */ | 201 | #endif /* _ASM_X86_IO_APIC_H */ |
