Skip to content

Commit

Permalink
x86: export check_tsc_unstable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Jan 30, 2008
1 parent 518edc9 commit dbae595
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/x86/kernel/tsc_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbae595

Please sign in to comment.