diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-11-21 17:17:09 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-23 05:02:36 -0500 |
commit | c450d7805b2c5cac8846c5f490fddfd9030d2207 (patch) | |
tree | ef34d0f076f057fb082ad2c7a78283ae2132e33d /arch/x86/kernel/cpu | |
parent | fd8cd7e1919fc1c27fe2fdccd2a1cd32f791ef0f (diff) |
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')
-rw-r--r-- | arch/x86/kernel/cpu/vmware.c | 1 |
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 @@ | |||
23 | 23 | ||
24 | #include <linux/dmi.h> | 24 | #include <linux/dmi.h> |
25 | #include <asm/div64.h> | 25 | #include <asm/div64.h> |
26 | #include <asm/vmware.h> | ||
26 | 27 | ||
27 | #define CPUID_VMWARE_INFO_LEAF 0x40000000 | 28 | #define CPUID_VMWARE_INFO_LEAF 0x40000000 |
28 | #define VMWARE_HYPERVISOR_MAGIC 0x564D5868 | 29 | #define VMWARE_HYPERVISOR_MAGIC 0x564D5868 |