projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00bf7bf
)
sched: export cpu_clock()
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Mon, 15 Oct 2007 15:00:14 +0000
(17:00 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 15 Oct 2007 15:00:14 +0000
(17:00 +0200)
export cpu_clock() - the preferred API instead of sched_clock().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index b41ef663b9935eece852b67de775231ffd8e884c..a3c3ec825f426479bad4c23eec8045cb0cca8c96 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-470,6
+470,7
@@
unsigned long long cpu_clock(int cpu)
return now;
}
+EXPORT_SYMBOL_GPL(cpu_clock);
#ifndef prepare_arch_switch
# define prepare_arch_switch(next) do { } while (0)