提交 a58f6f25 编写于 作者: P Paul E. McKenney 提交者: Ingo Molnar

sched: export cpu_clock()

export cpu_clock() - the preferred API instead of sched_clock().
Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册