softlockup: use cpu_clock() instead of sched_clock()
authorIngo Molnar <mingo@elte.hu>
Wed, 17 Oct 2007 06:26:06 +0000 (23:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:46 +0000 (08:42 -0700)
commita3b13c23f186ecb57204580cc1f2dbe9c284953a
tree7f7b1de1c0c7e45b6dfc91b1d09639aaf1051291
parent3806204ca9017a2cf2d849430f26e2b62666f5b2
softlockup: use cpu_clock() instead of sched_clock()

sched_clock() is not a reliable time-source, use cpu_clock() instead.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/softlockup.c