Message ID | 3bf24df19f5d91ffc5742d235eaa0d78671c6031.1517423725.git.joseph.salisbury@canonical.com |
---|---|
State | New |
Headers | show |
Series | Fixes for LP:1744988 | expand |
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index 531cc93..8f5cf85 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c @@ -612,6 +612,8 @@ unsigned long native_calibrate_tsc(void) } } + if (crystal_khz == 0) + return 0; /* * TSC frequency determined by CPUID is a "hardware reported" * frequency and is the most accurate one so far we have. This