]> Git Repo - linux.git/commitdiff
x86: vmware - fix sparse warnings
authorHannes Eder <[email protected]>
Fri, 21 Nov 2008 22:17:09 +0000 (23:17 +0100)
committerIngo Molnar <[email protected]>
Sun, 23 Nov 2008 10:02:36 +0000 (11:02 +0100)
Impact: fix sparse build warning

Fix the following sparse warnings:

arch/x86/kernel/cpu/vmware.c:69:5: warning: symbol 'vmware_platform'
was not declared. Should it be static?
arch/x86/kernel/cpu/vmware.c:89:15: warning: symbol
'vmware_get_tsc_khz' was not declared. Should it be static?
arch/x86/kernel/cpu/vmware.c:107:16: warning: symbol
'vmware_set_feature_bits' was not declared. Should it be static?

Signed-off-by: Hannes Eder <[email protected]>
Cc: "Alok N Kataria" <[email protected]>
Cc: "Dan Hecht" <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/vmware.c

index c034bda842d9465f266495e0a505c65154d4559a..284c399e32346f61fe6e925b0afbf4ec7e143ca7 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <linux/dmi.h>
 #include <asm/div64.h>
+#include <asm/vmware.h>
 
 #define CPUID_VMWARE_INFO_LEAF 0x40000000
 #define VMWARE_HYPERVISOR_MAGIC        0x564D5868
This page took 0.058808 seconds and 4 git commands to generate.