Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 722bffc9 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by android-build-merger
Browse files

x86/tsc: Fix ART for TSC_KNOWN_FREQ

am: 5ec98e6f

Change-Id: If24320eee8137c3b7b833822d095c69d077cf781
parents 30e8dd46 5ec98e6f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1287,6 +1287,8 @@ static int __init init_tsc_clocksource(void)
	 * exporting a reliable TSC.
	 */
	if (boot_cpu_has(X86_FEATURE_TSC_RELIABLE)) {
		if (boot_cpu_has(X86_FEATURE_ART))
			art_related_clocksource = &clocksource_tsc;
		clocksource_register_khz(&clocksource_tsc, tsc_khz);
		return 0;
	}