From: Glauber de Oliveira Costa Date: Wed, 30 Jan 2008 12:33:24 +0000 (+0100) Subject: x86: export check_tsc_unstable X-Git-Tag: firefly_0821_release~23636^2~211 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dbae595249bdbacd852e677f9b3e995f65c16781;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- 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"))); static int tsc_unstable; -inline int check_tsc_unstable(void) +int check_tsc_unstable(void) { return tsc_unstable; } +EXPORT_SYMBOL_GPL(check_tsc_unstable); + #ifdef CONFIG_CPU_FREQ /* Frequency scaling support. Adjust the TSC based timer when the cpu frequency