summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Kunbo <zhangkunbo@huawei.com>2024-11-26 05:05:11 +0300
committerIngo Molnar <mingo@kernel.org>2025-02-28 00:52:37 +0300
commitb8ffd979356e33a3af0854d47375bba611126f3b (patch)
tree52c3e14deffa574c69eb7254d0f0e50332b749ae
parent51184c3c96a19b5143710ef91426e311f4364bac (diff)
downloadlinux-b8ffd979356e33a3af0854d47375bba611126f3b.tar.xz
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 <zhangkunbo@huawei.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20241126020511.3464664-1-zhangkunbo@huawei.com
-rw-r--r--arch/x86/kernel/i8259.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/i8259.c b/arch/x86/kernel/i8259.c
index c20d1832c481..2bade73f49e3 100644
--- a/arch/x86/kernel/i8259.c
+++ b/arch/x86/kernel/i8259.c
@@ -23,6 +23,7 @@
#include <asm/desc.h>
#include <asm/apic.h>
#include <asm/i8259.h>
+#include <asm/io_apic.h>
/*
* This is the 'legacy' 8259A Programmable Interrupt Controller,