projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3145e94
)
sparseirq: fix typo in !CONFIG_IO_APIC case
author
Ingo Molnar
<mingo@elte.hu>
Mon, 8 Dec 2008 17:47:51 +0000
(18:47 +0100)
committer
Ingo 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/include/asm/io_apic.h
b/arch/x86/include/asm/io_apic.h
index b35e94c2d6dfcff1f9ca2ffdef5262488b521294..25d527ca13622cdab95187ef505267a7cf5112a1 100644
(file)
--- 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 */