diff options
-rw-r--r-- | arch/x86/kernel/tsc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index 4f7a9833d8e5..c73a7f9e881a 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c | |||
@@ -1333,6 +1333,8 @@ static int __init init_tsc_clocksource(void) | |||
1333 | * the refined calibration and directly register it as a clocksource. | 1333 | * the refined calibration and directly register it as a clocksource. |
1334 | */ | 1334 | */ |
1335 | if (boot_cpu_has(X86_FEATURE_TSC_KNOWN_FREQ)) { | 1335 | if (boot_cpu_has(X86_FEATURE_TSC_KNOWN_FREQ)) { |
1336 | if (boot_cpu_has(X86_FEATURE_ART)) | ||
1337 | art_related_clocksource = &clocksource_tsc; | ||
1336 | clocksource_register_khz(&clocksource_tsc, tsc_khz); | 1338 | clocksource_register_khz(&clocksource_tsc, tsc_khz); |
1337 | return 0; | 1339 | return 0; |
1338 | } | 1340 | } |