Skip to content

Commit

Permalink
sched: export cpu_clock()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul E. McKenney authored and Ingo Molnar committed Oct 15, 2007
1 parent 00bf7bf commit a58f6f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a58f6f2

Please sign in to comment.