projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
518edc9
)
x86: export check_tsc_unstable
author
Glauber de Oliveira Costa
<
[email protected]
>
Wed, 30 Jan 2008 12:33:24 +0000
(13:33 +0100)
committer
Ingo Molnar
<
[email protected]
>
Wed, 30 Jan 2008 12:33:24 +0000
(13:33 +0100)
Exporrt check_tsc_unstable function as GPL symbol. lguest is
a user of it.
Signed-off-by: Glauber de Oliveira Costa <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
arch/x86/kernel/tsc_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/tsc_64.c
b/arch/x86/kernel/tsc_64.c
index c62f3b6eacc090e6408361a2f78eb10121cfe94a..947554ddabb6c7779f9e9adedfc07d7891dba283 100644
(file)
--- 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;
-in
line in
t 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