summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/apic.h
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-12-23 17:22:33 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-27 11:30:18 +0100
commitb6b301aa9fba57b114c3a00f5f43abf672bd4ecd (patch)
tree416330b29b40b5dabc9ca898b0d1ddfdc918f526 /arch/x86/include/asm/apic.h
parentx86: reboot.c declare port_cf9_safe before they get used (diff)
downloadlinux-b6b301aa9fba57b114c3a00f5f43abf672bd4ecd.tar.xz
linux-b6b301aa9fba57b114c3a00f5f43abf672bd4ecd.zip
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>
Diffstat (limited to 'arch/x86/include/asm/apic.h')
-rw-r--r--arch/x86/include/asm/apic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index 25caa0738af5..e644bf6f90dc 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -93,7 +93,7 @@ static inline u32 native_apic_msr_read(u32 reg)
}
#ifndef CONFIG_X86_32
-extern int x2apic, x2apic_preenabled;
+extern int x2apic;
extern void check_x2apic(void);
extern void enable_x2apic(void);
extern void enable_IR_x2apic(void);