commit | a381759d6ad5c5dea5a981918e0b4493e9b66ac7 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Thu May 29 10:07:15 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Thu May 29 11:29:19 2008 +0200 |
tree | 059df197fe2974c655fc098e3aaf6968a3cc2a3c | |
parent | 6363ca57c76b7b83639ca8c83fc285fa26a7880e [diff] |
sched: fix sched_clock_cpu() 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>