]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sched: fix build error in kernel/sched_rt.c when RT_GROUP_SCHED && !SMP
authorGregory Haskins <ghaskins@novell.com>
Wed, 14 Jan 2009 14:10:04 +0000 (09:10 -0500)
committerGregory Haskins <ghaskins@novell.com>
Wed, 14 Jan 2009 14:10:04 +0000 (09:10 -0500)
commit398a153b16b09a68739928d4502455db9725ac86
tree3a584f77d92c49ac8e5a047fd120607c3b5f9727
parentb07430ac37103218b5c1e542490a1b98e6deb3d6
sched: fix build error in kernel/sched_rt.c when RT_GROUP_SCHED && !SMP

Ingo found a build error in the scheduler when RT_GROUP_SCHED was
enabled, but SMP was not.  This patch rearranges the code such
that it is a little more streamlined and compiles under all permutations
of SMP, UP and RT_GROUP_SCHED.  It was boot tested on my 4-way x86_64
and it still passes preempt-test.

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
kernel/sched.c
kernel/sched_rt.c