summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorAlexey Makhalov <amakhalov@vmware.com>2020-03-23 19:57:07 +0000
committerBorislav Petkov <bp@suse.de>2020-03-24 10:29:22 +0100
commit8fefe9dacdb0a1347d3dac871bb1bba3cbc32945 (patch)
tree350c37490d21496ba1136c328b1a6cd0aa707073 /arch/x86/kernel
parente73a8f38f82dd1c41b70a06556bea7dc250cc384 (diff)
downloadlinux-8fefe9dacdb0a1347d3dac871bb1bba3cbc32945.tar.gz
linux-8fefe9dacdb0a1347d3dac871bb1bba3cbc32945.tar.bz2
linux-8fefe9dacdb0a1347d3dac871bb1bba3cbc32945.zip
x86/vmware: Use bool type for vmw_sched_clock
To be aligned with other bool variables. Signed-off-by: Alexey Makhalov <amakhalov@vmware.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20200323195707.31242-6-amakhalov@vmware.com
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/cpu/vmware.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
index e885f73bebd4..9b6fafa69be9 100644
--- a/arch/x86/kernel/cpu/vmware.c
+++ b/arch/x86/kernel/cpu/vmware.c
@@ -122,14 +122,14 @@ static unsigned long vmware_get_tsc_khz(void)
#ifdef CONFIG_PARAVIRT
static struct cyc2ns_data vmware_cyc2ns __ro_after_init;
-static int vmw_sched_clock __initdata = 1;
+static bool vmw_sched_clock __initdata = true;
static DEFINE_PER_CPU_DECRYPTED(struct vmware_steal_time, vmw_steal_time) __aligned(64);
static bool has_steal_clock;
static bool steal_acc __initdata = true; /* steal time accounting */
static __init int setup_vmw_sched_clock(char *s)
{
- vmw_sched_clock = 0;
+ vmw_sched_clock = false;
return 0;
}
early_param("no-vmw-sched-clock", setup_vmw_sched_clock);