Loading arch/x86/kernel/tsc.c +5 −1 Original line number Diff line number Diff line Loading @@ -768,6 +768,7 @@ static cycle_t read_tsc(struct clocksource *cs) static void resume_tsc(struct clocksource *cs) { if (!boot_cpu_has(X86_FEATURE_NONSTOP_TSC_S3)) clocksource_tsc.cycle_last = 0; } Loading Loading @@ -939,6 +940,9 @@ static int __init init_tsc_clocksource(void) clocksource_tsc.flags &= ~CLOCK_SOURCE_IS_CONTINUOUS; } if (boot_cpu_has(X86_FEATURE_NONSTOP_TSC_S3)) clocksource_tsc.flags |= CLOCK_SOURCE_SUSPEND_NONSTOP; /* * Trust the results of the earlier calibration on systems * exporting a reliable TSC. Loading Loading
arch/x86/kernel/tsc.c +5 −1 Original line number Diff line number Diff line Loading @@ -768,6 +768,7 @@ static cycle_t read_tsc(struct clocksource *cs) static void resume_tsc(struct clocksource *cs) { if (!boot_cpu_has(X86_FEATURE_NONSTOP_TSC_S3)) clocksource_tsc.cycle_last = 0; } Loading Loading @@ -939,6 +940,9 @@ static int __init init_tsc_clocksource(void) clocksource_tsc.flags &= ~CLOCK_SOURCE_IS_CONTINUOUS; } if (boot_cpu_has(X86_FEATURE_NONSTOP_TSC_S3)) clocksource_tsc.flags |= CLOCK_SOURCE_SUSPEND_NONSTOP; /* * Trust the results of the earlier calibration on systems * exporting a reliable TSC. Loading