|
@@ -158,13 +158,13 @@ void hyperv_init(void)
|
|
|
clocksource_register_hz(&hyperv_cs_tsc, NSEC_PER_SEC/100);
|
|
clocksource_register_hz(&hyperv_cs_tsc, NSEC_PER_SEC/100);
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
+register_msr_cs:
|
|
|
#endif
|
|
#endif
|
|
|
/*
|
|
/*
|
|
|
* For 32 bit guests just use the MSR based mechanism for reading
|
|
* For 32 bit guests just use the MSR based mechanism for reading
|
|
|
* the partition counter.
|
|
* the partition counter.
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
-register_msr_cs:
|
|
|
|
|
hyperv_cs = &hyperv_cs_msr;
|
|
hyperv_cs = &hyperv_cs_msr;
|
|
|
if (ms_hyperv.features & HV_X64_MSR_TIME_REF_COUNT_AVAILABLE)
|
|
if (ms_hyperv.features & HV_X64_MSR_TIME_REF_COUNT_AVAILABLE)
|
|
|
clocksource_register_hz(&hyperv_cs_msr, NSEC_PER_SEC/100);
|
|
clocksource_register_hz(&hyperv_cs_msr, NSEC_PER_SEC/100);
|