Commit 7f3e632f authored by Jaswinder Singh Rajput's avatar Jaswinder Singh Rajput Committed by Ingo Molnar

x86: io_apic.c io_apic_sync should be static

Impact: cleanup, reduce kernel size a bit, avoid sparse warning

Fixes sparse warning:

  arch/x86/kernel/io_apic.c:709:6: warning: symbol 'io_apic_sync' was not declared. Should it be static?
Signed-off-by: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent a1ae299d
...@@ -481,7 +481,7 @@ static void __unmask_IO_APIC_irq(unsigned int irq) ...@@ -481,7 +481,7 @@ static void __unmask_IO_APIC_irq(unsigned int irq)
} }
#ifdef CONFIG_X86_64 #ifdef CONFIG_X86_64
void io_apic_sync(struct irq_pin_list *entry) static void io_apic_sync(struct irq_pin_list *entry)
{ {
/* /*
* Synchronize the IO-APIC and the CPU by doing * Synchronize the IO-APIC and the CPU by doing
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment