Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbae5952 authored by Glauber de Oliveira Costa's avatar Glauber de Oliveira Costa Committed by Ingo Molnar
Browse files

x86: export check_tsc_unstable



Exporrt check_tsc_unstable function as GPL symbol. lguest is
a user of it.

Signed-off-by: default avatarGlauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 518edc93
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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