]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8d6c1834fb3b9f6e0268bd7d8dea9df619af313
tree9bf41406ee7b635abf5a6769acd6a93cbd4df104
parent37497c043834ebb3b37a6f5db0a2bccc00f5a0d4
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