aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/tsc_64.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/tsc_64.c b/arch/x86/kernel/tsc_64.c
index c62f3b6eacc0..947554ddabb6 100644
--- a/arch/x86/kernel/tsc_64.c
+++ b/arch/x86/kernel/tsc_64.c
@@ -92,10 +92,12 @@ sched_clock(void) __attribute__((alias("native_sched_clock")));
92 92
93static int tsc_unstable; 93static int tsc_unstable;
94 94
95inline int check_tsc_unstable(void) 95int check_tsc_unstable(void)
96{ 96{
97 return tsc_unstable; 97 return tsc_unstable;
98} 98}
99EXPORT_SYMBOL_GPL(check_tsc_unstable);
100
99#ifdef CONFIG_CPU_FREQ 101#ifdef CONFIG_CPU_FREQ
100 102
101/* Frequency scaling support. Adjust the TSC based timer when the cpu frequency 103/* Frequency scaling support. Adjust the TSC based timer when the cpu frequency