aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2007-10-15 11:00:14 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:14 -0400
commita58f6f253d268f7b9712bd13c344a1fd89a3192f (patch)
treee921a48820767f5a1891f9972d13adf35b981fad /kernel/sched.c
parent00bf7bfc2eaf775b634774e9ec435d720b6ecee7 (diff)
sched: export cpu_clock()
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>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index b41ef663b993..a3c3ec825f42 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -470,6 +470,7 @@ unsigned long long cpu_clock(int cpu)
470 470
471 return now; 471 return now;
472} 472}
473EXPORT_SYMBOL_GPL(cpu_clock);
473 474
474#ifndef prepare_arch_switch 475#ifndef prepare_arch_switch
475# define prepare_arch_switch(next) do { } while (0) 476# define prepare_arch_switch(next) do { } while (0)