diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2007-10-15 17:00:14 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-15 17:00:14 +0200 |
commit | a58f6f253d268f7b9712bd13c344a1fd89a3192f (patch) | |
tree | e921a48820767f5a1891f9972d13adf35b981fad /kernel/sched.c | |
parent | sched: fix: move the CPU check into ->task_new_fair() (diff) | |
download | linux-a58f6f253d268f7b9712bd13c344a1fd89a3192f.tar.xz linux-a58f6f253d268f7b9712bd13c344a1fd89a3192f.zip |
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 '')
-rw-r--r-- | kernel/sched.c | 1 |
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) return now; } +EXPORT_SYMBOL_GPL(cpu_clock); #ifndef prepare_arch_switch # define prepare_arch_switch(next) do { } while (0) |