mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[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
fd8cd7e191
commit
c450d7805b
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue