From: Zhang Kunbo Date: Tue, 26 Nov 2024 02:05:11 +0000 (+0000) Subject: x86/irq: Fix missing declaration of 'io_apic_irqs' X-Git-Tag: v6.15-rc1~212^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8ffd979356e33a3af0854d47375bba611126f3b;p=thirdparty%2Fkernel%2Flinux.git x86/irq: Fix missing declaration of 'io_apic_irqs' Fix this sparse warning: arch/x86/kernel/i8259.c:57:15: warning: symbol 'io_apic_irqs' was not declared. Should it be static? Signed-off-by: Zhang Kunbo Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20241126020511.3464664-1-zhangkunbo@huawei.com --- diff --git a/arch/x86/kernel/i8259.c b/arch/x86/kernel/i8259.c index c20d1832c4812..2bade73f49e33 100644 --- a/arch/x86/kernel/i8259.c +++ b/arch/x86/kernel/i8259.c @@ -23,6 +23,7 @@ #include #include #include +#include /* * This is the 'legacy' 8259A Programmable Interrupt Controller,