mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Cc: "Alok N Kataria" <[email protected]> Cc: "Dan Hecht" <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
c450d7805b
commit
4e42ebd57b
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue