]> git.baikalelectronics.ru Git - kernel.git/commit
sched_clock: delay using sched_clock()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 11 Aug 2008 06:59:03 +0000 (08:59 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 11 Aug 2008 06:59:03 +0000 (08:59 +0200)
commit93854791890e832f4bc069a1b886b370d88a1459
treea00dcd1736c612017df7094a91d8a6435b7a49c9
parente4291b01969ced2d4069f11bbe83cf8989af256d
sched_clock: delay using sched_clock()

Some arch's can't handle sched_clock() being called too early - delay
this until sched_clock_init() has been called.

Reported-by: Bill Gatliff <bgat@billgatliff.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Tested-by: Nishanth Aravamudan <nacc@us.ibm.com>
CC: Russell King - ARM Linux <linux@arm.linux.org.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/sched_clock.c