[PATCH] i386: improve sched_clock() on i686
[firefly-linux-kernel-4.4.55.git] / include / asm-i386 / bugs.h
index 38f1aebbbdb5f5587df51976e13fd1f352fd36eb..c90c7c499302059524699649bf3d428d44bca408 100644 (file)
@@ -160,7 +160,7 @@ static void __init check_config(void)
  * If we configured ourselves for a TSC, we'd better have one!
  */
 #ifdef CONFIG_X86_TSC
-       if (!cpu_has_tsc)
+       if (!cpu_has_tsc && !tsc_disable)
                panic("Kernel compiled for Pentium+, requires TSC feature!");
 #endif