summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/vmware.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-11-21 23:17:09 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-23 11:02:36 +0100
commitc450d7805b2c5cac8846c5f490fddfd9030d2207 (patch)
treeef34d0f076f057fb082ad2c7a78283ae2132e33d /arch/x86/kernel/cpu/vmware.c
parentx86: vmware: look for DMI string in the product serial key (diff)
downloadlinux-c450d7805b2c5cac8846c5f490fddfd9030d2207.tar.xz
linux-c450d7805b2c5cac8846c5f490fddfd9030d2207.zip
x86: vmware - fix sparse warnings
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 <hannes@hanneseder.net> Cc: "Alok N Kataria" <akataria@vmware.com> Cc: "Dan Hecht" <dhecht@vmware.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/vmware.c')
-rw-r--r--arch/x86/kernel/cpu/vmware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
index c034bda842d9..284c399e3234 100644
--- a/arch/x86/kernel/cpu/vmware.c
+++ b/arch/x86/kernel/cpu/vmware.c
@@ -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