Skip to content

Commit

Permalink
x86: io_apic.c io_apic_sync should be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jaswinder Singh Rajput authored and Ingo Molnar committed Dec 29, 2008
1 parent a1ae299 commit 7f3e632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f3e632

Please sign in to comment.