Message ID | 69782a41f813f1fca8b24e9d2f15efb20aeed510.1517423725.git.joseph.salisbury@canonical.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index 0be7a5f..0fc353b 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c @@ -1297,6 +1297,12 @@ void __init tsc_init(void) (unsigned long)cpu_khz / 1000, (unsigned long)cpu_khz % 1000); + if (cpu_khz != tsc_khz) { + pr_info("Detected %lu.%03lu MHz TSC", + (unsigned long)tsc_khz / 1000, + (unsigned long)tsc_khz % 1000); + } + /* Sanitize TSC ADJUST before cyc2ns gets initialized */ tsc_store_and_check_tsc_adjust(true);