]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sched: clean up calc_weighted()
authorIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:04 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:04 +0000 (17:00 +0200)
commit08e2388aa1e40cb06f7d04ac621e2ae94e1d8fdc
tree07ef79ec5f60879471bfcdef1da7e1d37cbddb4e
parent1091985b482fdd577a5c511059b9d7b4467bd15d
sched: clean up calc_weighted()

clean up calc_weighted() - we always use the normalized shift so
it's not needed to pass that in. Also, push the non-nice0 branch
into the function.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched_fair.c