]> Git Repo - linux.git/commitdiff
x86: hypervisor - fix sparse warnings
authorHannes Eder <[email protected]>
Fri, 21 Nov 2008 21:56:17 +0000 (22:56 +0100)
committerIngo Molnar <[email protected]>
Sun, 23 Nov 2008 10:11:52 +0000 (11:11 +0100)
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 <[email protected]>
Cc: "Alok N Kataria" <[email protected]>
Cc: "Dan Hecht" <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/hypervisor.c

index 35ae2b75226d23a7462f3999d1671067adb106ad..fb5b86af0b017add1b7ed78ba869f3e5dd063a48 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <asm/processor.h>
 #include <asm/vmware.h>
+#include <asm/hypervisor.h>
 
 static inline void __cpuinit
 detect_hypervisor_vendor(struct cpuinfo_x86 *c)
This page took 0.050984 seconds and 4 git commands to generate.