sched: fix the cpuprio count really
authorThomas Gleixner <tglx@linutronix.de>
Thu, 5 Jun 2008 08:28:00 +0000 (10:28 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Jun 2008 13:19:44 +0000 (15:19 +0200)
commite539d8fcd11af811db70707d47ea436d5621d0da
tree9bf41406ee7b635abf5a6769acd6a93cbd4df104
parent709d4b0c60f990bccf3e10ba7c6da407ad65c97f
sched: fix the cpuprio count really

Peter pointed out that the last version of the "fix" was still one off
under certain circumstances. Use BITS_TO_LONG instead to get an
accurate result.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched_cpupri.h