projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51184c3
)
x86/irq: Fix missing declaration of 'io_apic_irqs'
author
Zhang Kunbo
<zhangkunbo@huawei.com>
Tue, 26 Nov 2024 02:05:11 +0000
(
02:05
+0000)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 27 Feb 2025 21:52:37 +0000
(22:52 +0100)
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
arch/x86/kernel/i8259.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/i8259.c
b/arch/x86/kernel/i8259.c
index c20d1832c4812be34dbec593101a088d3351c1f8..2bade73f49e3396cab3eb709eed2b3284b02c044 100644
(file)
--- 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,