sched: fix cpupri priocount
authorGregory Haskins <ghaskins@novell.com>
Wed, 4 Jun 2008 19:04:10 +0000 (15:04 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Jun 2008 13:19:43 +0000 (15:19 +0200)
commit709d4b0c60f990bccf3e10ba7c6da407ad65c97f
tree1d8c931a068f0957d52dc5cae75c7013138caa50
parent1f11eb6a8bc92536d9e93ead48fa3ffbd1478571
sched: fix cpupri priocount

A rounding error was pointed out by Peter Zijlstra which would result
in the structure holding priorities to be off by one.

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched_cpupri.h