Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Jaswinder Singh Rajput and committed by
Ingo Molnar
7f3e632f a1ae299d

+1 -1
+1 -1
arch/x86/kernel/io_apic.c
··· 481 481 } 482 482 483 483 #ifdef CONFIG_X86_64 484 - void io_apic_sync(struct irq_pin_list *entry) 484 + static void io_apic_sync(struct irq_pin_list *entry) 485 485 { 486 486 /* 487 487 * Synchronize the IO-APIC and the CPU by doing