diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-11-21 16:56:17 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-23 05:11:52 -0500 |
commit | 4e42ebd57b2e727b28bf5f6068e95cd19b0e807b (patch) | |
tree | d859ac044deb60a8f086fcfaf9adc58cc7d8ae05 | |
parent | c450d7805b2c5cac8846c5f490fddfd9030d2207 (diff) |
x86: hypervisor - fix sparse warnings
Impact: fix sparse build warning
Fix the following sparse warnings:
arch/x86/kernel/cpu/hypervisor.c:37:15: warning: symbol
'get_hypervisor_tsc_freq' was not declared. Should it be static?
arch/x86/kernel/cpu/hypervisor.c:53:16: warning: symbol
'init_hypervisor' 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>
-rw-r--r-- | arch/x86/kernel/cpu/hypervisor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/hypervisor.c b/arch/x86/kernel/cpu/hypervisor.c index 35ae2b75226d..fb5b86af0b01 100644 --- a/arch/x86/kernel/cpu/hypervisor.c +++ b/arch/x86/kernel/cpu/hypervisor.c | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include <asm/processor.h> | 24 | #include <asm/processor.h> |
25 | #include <asm/vmware.h> | 25 | #include <asm/vmware.h> |
26 | #include <asm/hypervisor.h> | ||
26 | 27 | ||
27 | static inline void __cpuinit | 28 | static inline void __cpuinit |
28 | detect_hypervisor_vendor(struct cpuinfo_x86 *c) | 29 | detect_hypervisor_vendor(struct cpuinfo_x86 *c) |