aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/tsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/tsc.c')
-rw-r--r--arch/i386/kernel/tsc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/i386/kernel/tsc.c b/arch/i386/kernel/tsc.c
index 6f6971da761c..0fd93107ff9a 100644
--- a/arch/i386/kernel/tsc.c
+++ b/arch/i386/kernel/tsc.c
@@ -406,8 +406,10 @@ out:
406 * Make an educated guess if the TSC is trustworthy and synchronized 406 * Make an educated guess if the TSC is trustworthy and synchronized
407 * over all CPUs. 407 * over all CPUs.
408 */ 408 */
409static __init int unsynchronized_tsc(void) 409__cpuinit int unsynchronized_tsc(void)
410{ 410{
411 if (!cpu_has_tsc || tsc_unstable)
412 return 1;
411 /* 413 /*
412 * Intel systems are normally all synchronized. 414 * Intel systems are normally all synchronized.
413 * Exceptions must mark TSC as unstable: 415 * Exceptions must mark TSC as unstable: