sched: don't allow rt_runtime_us to be zero for groups having rt tasks
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Thu, 28 Feb 2008 09:51:56 +0000 (15:21 +0530)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Mar 2008 15:43:00 +0000 (16:43 +0100)
This patch checks if we can set the rt_runtime_us to 0. If there is a
realtime task in the group, we don't want to set the rt_runtime_us as 0
or bad things will happen. (that task wont get any CPU time despite
being TASK_RUNNNG)

Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found