sched: fix calc_delta_mine()
commit27d117266097101dcf79c4576903cdcdd0eabffc
authorIngo Molnar <mingo@elte.hu>
Fri, 14 Mar 2008 21:20:01 +0000 (14 22:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 15 Mar 2008 02:02:50 +0000 (15 03:02 +0100)
tree854e6e824b03385d71d8d7f2feb9311572bb86f2
parente89996ae3f9e88d4fd75751a15c10b19d197e702
sched: fix calc_delta_mine()

lw->weight can be 0 for a short time during bootup.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
kernel/sched.c