Skip to content

Commit 8fefe9d

Browse files
Alexey Makhalovsuryasaimadhu
authored andcommitted
x86/vmware: Use bool type for vmw_sched_clock
To be aligned with other bool variables. Signed-off-by: Alexey Makhalov <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent e73a8f3 commit 8fefe9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/kernel/cpu/vmware.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ static unsigned long vmware_get_tsc_khz(void)
122122

123123
#ifdef CONFIG_PARAVIRT
124124
static struct cyc2ns_data vmware_cyc2ns __ro_after_init;
125-
static int vmw_sched_clock __initdata = 1;
125+
static bool vmw_sched_clock __initdata = true;
126126
static DEFINE_PER_CPU_DECRYPTED(struct vmware_steal_time, vmw_steal_time) __aligned(64);
127127
static bool has_steal_clock;
128128
static bool steal_acc __initdata = true; /* steal time accounting */
129129

130130
static __init int setup_vmw_sched_clock(char *s)
131131
{
132-
vmw_sched_clock = 0;
132+
vmw_sched_clock = false;
133133
return 0;
134134
}
135135
early_param("no-vmw-sched-clock", setup_vmw_sched_clock);

0 commit comments

Comments
 (0)