diff options
author | Jaswinder Singh Rajput <jaswinder@infradead.org> | 2008-12-29 10:04:35 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-29 12:17:31 -0500 |
commit | 7f3e632f9d8d234819bcdef7a68fc8b84f7d3d3d (patch) | |
tree | 4c2077c2f4e097fa18fda806c9e051f4fdd363bc /arch/x86/kernel/io_apic.c | |
parent | a1ae299dfb6ef219b296b61d1f222732391973b5 (diff) |
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>
Diffstat (limited to 'arch/x86/kernel/io_apic.c')
-rw-r--r-- | arch/x86/kernel/io_apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c index 679e7bbbbcd6..b8c8a8e99341 100644 --- a/arch/x86/kernel/io_apic.c +++ b/arch/x86/kernel/io_apic.c | |||
@@ -481,7 +481,7 @@ static void __unmask_IO_APIC_irq(unsigned int irq) | |||
481 | } | 481 | } |
482 | 482 | ||
483 | #ifdef CONFIG_X86_64 | 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 | * Synchronize the IO-APIC and the CPU by doing | 487 | * Synchronize the IO-APIC and the CPU by doing |