]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: io_apic.c io_apic_sync should be static
authorJaswinder Singh Rajput <jaswinder@infradead.org>
Mon, 29 Dec 2008 15:04:35 +0000 (20:34 +0530)
committerIngo Molnar <mingo@elte.hu>
Mon, 29 Dec 2008 17:17:31 +0000 (18:17 +0100)
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>
arch/x86/kernel/io_apic.c

index 679e7bbbbcd6b07230a2e7fdbd2ebe38e04f0563..b8c8a8e99341d4cd31aff2cfc9cffa15f479e41d 100644 (file)
@@ -481,7 +481,7 @@ static void __unmask_IO_APIC_irq(unsigned int irq)
 }
 
 #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