commit | 08e2388aa1e40cb06f7d04ac621e2ae94e1d8fdc | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Mon Oct 15 17:00:04 2007 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Oct 15 17:00:04 2007 +0200 |
tree | 07ef79ec5f60879471bfcdef1da7e1d37cbddb4e | |
parent | 1091985b482fdd577a5c511059b9d7b4467bd15d [diff] |
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>