sched: Fix fallback sched_clock()'s offset when using jiffies
authorRon <ron@voicetronix.com>
Fri, 8 May 2009 13:24:49 +0000 (22:54 +0930)
committerIngo Molnar <mingo@elte.hu>
Sat, 9 May 2009 08:08:19 +0000 (10:08 +0200)
commit92d23f703c608fcb2c8edd74a3fd0f4031e18606
treeecd2e7f94fea20188eb75cabbcd48a7f7ab79dbc
parent091bf7624d1c90cec9e578a18529f615213ff847
sched: Fix fallback sched_clock()'s offset when using jiffies

Account for the initial offset to the jiffy count.

[ Impact: fix printk timestamps on architectures using fallback sched_clock() ]

Signed-off-by: Ron Lee <ron@debian.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_clock.c