Commit 8fefe9da authored by Alexey Makhalov's avatar Alexey Makhalov Committed by Borislav Petkov

x86/vmware: Use bool type for vmw_sched_clock

To be aligned with other bool variables.
Signed-off-by: default avatarAlexey Makhalov <amakhalov@vmware.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200323195707.31242-6-amakhalov@vmware.com
parent e73a8f38
...@@ -122,14 +122,14 @@ static unsigned long vmware_get_tsc_khz(void) ...@@ -122,14 +122,14 @@ static unsigned long vmware_get_tsc_khz(void)
#ifdef CONFIG_PARAVIRT #ifdef CONFIG_PARAVIRT
static struct cyc2ns_data vmware_cyc2ns __ro_after_init; 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 DEFINE_PER_CPU_DECRYPTED(struct vmware_steal_time, vmw_steal_time) __aligned(64);
static bool has_steal_clock; static bool has_steal_clock;
static bool steal_acc __initdata = true; /* steal time accounting */ static bool steal_acc __initdata = true; /* steal time accounting */
static __init int setup_vmw_sched_clock(char *s) static __init int setup_vmw_sched_clock(char *s)
{ {
vmw_sched_clock = 0; vmw_sched_clock = false;
return 0; return 0;
} }
early_param("no-vmw-sched-clock", setup_vmw_sched_clock); early_param("no-vmw-sched-clock", setup_vmw_sched_clock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment