diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-10-15 17:00:04 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-15 17:00:04 +0200 |
commit | 08e2388aa1e40cb06f7d04ac621e2ae94e1d8fdc (patch) | |
tree | 07ef79ec5f60879471bfcdef1da7e1d37cbddb4e /include/linux/sched.h | |
parent | 1091985b482fdd577a5c511059b9d7b4467bd15d (diff) | |
download | lwn-08e2388aa1e40cb06f7d04ac621e2ae94e1d8fdc.tar.gz lwn-08e2388aa1e40cb06f7d04ac621e2ae94e1d8fdc.zip |
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>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions