We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e73a8f3 commit 8fefe9dCopy full SHA for 8fefe9d
arch/x86/kernel/cpu/vmware.c
@@ -122,14 +122,14 @@ static unsigned long vmware_get_tsc_khz(void)
122
123
#ifdef CONFIG_PARAVIRT
124
static struct cyc2ns_data vmware_cyc2ns __ro_after_init;
125
-static int vmw_sched_clock __initdata = 1;
+static bool vmw_sched_clock __initdata = true;
126
static DEFINE_PER_CPU_DECRYPTED(struct vmware_steal_time, vmw_steal_time) __aligned(64);
127
static bool has_steal_clock;
128
static bool steal_acc __initdata = true; /* steal time accounting */
129
130
static __init int setup_vmw_sched_clock(char *s)
131
{
132
- vmw_sched_clock = 0;
+ vmw_sched_clock = false;
133
return 0;
134
}
135
early_param("no-vmw-sched-clock", setup_vmw_sched_clock);
0 commit comments