Skip to content

Commit b8ffd97

Browse files
Zhang KunboIngo Molnar
authored andcommitted
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
1 parent 51184c3 commit b8ffd97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/kernel/i8259.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include <asm/desc.h>
2424
#include <asm/apic.h>
2525
#include <asm/i8259.h>
26+
#include <asm/io_apic.h>
2627

2728
/*
2829
* This is the 'legacy' 8259A Programmable Interrupt Controller,

0 commit comments

Comments
 (0)