diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-05-29 10:07:15 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-29 11:29:19 +0200 |
commit | a381759d6ad5c5dea5a981918e0b4493e9b66ac7 (patch) | |
tree | 059df197fe2974c655fc098e3aaf6968a3cc2a3c /kernel/cpu.c | |
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>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions