aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/tsc_64.c
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:33:24 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:24 -0500
commitdbae595249bdbacd852e677f9b3e995f65c16781 (patch)
tree205a399fc083a9ca2ef4550637198d9e60e02f17 /arch/x86/kernel/tsc_64.c
parent518edc93f8b29bc3e31a13ced0af27c602feed8f (diff)
x86: export check_tsc_unstable
Exporrt check_tsc_unstable function as GPL symbol. lguest is a user of it. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/tsc_64.c')
-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