]> git.baikalelectronics.ru Git - kernel.git/commit
x86: apic.c x2apic_preenabled and disable_x2apic should be static
authorJaswinder Singh <jaswinder@infradead.org>
Tue, 23 Dec 2008 16:22:33 +0000 (21:52 +0530)
committerIngo Molnar <mingo@elte.hu>
Sat, 27 Dec 2008 10:30:18 +0000 (11:30 +0100)
commit710447f45f9d6140ec9fec4503160d7fecb91f28
tree416330b29b40b5dabc9ca898b0d1ddfdc918f526
parent9c091c768563e4f1ccdcb5136f1dd133e340d449
x86: apic.c x2apic_preenabled and disable_x2apic should be static

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

Fixes sparse warning:

  arch/x86/kernel/apic.c:103:5: warning: symbol 'disable_x2apic' was not declared. Should it be static?

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic.c