mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
x86/tsc: Fix ART for TSC_KNOWN_FREQ
am: 5ec98e6ffd
Change-Id: If24320eee8137c3b7b833822d095c69d077cf781
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user