x86: apic.c declare pic_mode before they get used
commita1ae299dfb6ef219b296b61d1f222732391973b5
authorJaswinder Singh Rajput <jaswinder@infradead.org>
Mon, 29 Dec 2008 15:02:52 +0000 (29 20:32 +0530)
committerIngo Molnar <mingo@elte.hu>
Mon, 29 Dec 2008 17:17:30 +0000 (29 18:17 +0100)
treeb36974f4cadd6d0fbc9041a62d484c113b2f13a9
parent2f06de0671096e19350c9efe21cfdbc0891aab20
x86: apic.c declare pic_mode before they get used

Impact: cleanup, avoid sparse warning

In asm/mpspec.h moved out pic_mode from CONFIG_X86_32 as it is common
for both 32 and 64 bit.

Fixes this sparse warning for x86_64:

  arch/x86/kernel/apic.c:128:5: warning: symbol 'pic_mode' 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/include/asm/mpspec.h