Commit a58f6f25 authored by Paul E. McKenney's avatar Paul E. McKenney Committed by Ingo Molnar

sched: export cpu_clock()

export cpu_clock() - the preferred API instead of sched_clock().
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 00bf7bfc
...@@ -470,6 +470,7 @@ unsigned long long cpu_clock(int cpu) ...@@ -470,6 +470,7 @@ unsigned long long cpu_clock(int cpu)
return now; return now;
} }
EXPORT_SYMBOL_GPL(cpu_clock);
#ifndef prepare_arch_switch #ifndef prepare_arch_switch
# define prepare_arch_switch(next) do { } while (0) # define prepare_arch_switch(next) do { } while (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment