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>
This commit is contained in:
committed by
Ingo Molnar
parent
00bf7bfc2e
commit
a58f6f253d
@@ -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)
|
||||||
|
Reference in New Issue
Block a user