Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)