]> git.baikalelectronics.ru Git - kernel.git/commit
sched: fix CONFIG_PRINT_TIME's reliance on sched_clock()
authorIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:07:58 +0000 (21:07 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:07:58 +0000 (21:07 +0100)
commitf2520d2cb29fe3ba01b77fcb6d4e71d7cb72e9fd
tree2bce92a20518105d8884b2bf5ff6fb1b5e3d7636
parent807e543923b16159636e789e72f72f608acfb669
sched: fix CONFIG_PRINT_TIME's reliance on sched_clock()

Stefano Brivio reported weird printk timestamp behavior during
CPU frequency changes:

  http://bugzilla.kernel.org/show_bug.cgi?id=9475

fix CONFIG_PRINT_TIME's reliance on sched_clock() and use cpu_clock()
instead.

Reported-and-bisected-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/printk.c