sched: fix sched_clock_cpu()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 29 May 2008 08:07:15 +0000 (10:07 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 29 May 2008 09:29:19 +0000 (11:29 +0200)
Make sched_clock_cpu() return 0 before it has been initialized and avoid
corrupting its state due to doing so.

This fixes the weird printk timestamp jump reported.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
kernel/sched_clock.c

Simple merge