sched: fix the wrong time slice value for SCHED_FIFO tasks
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 7 Mar 2008 01:35:06 +0000 (09:35 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Mar 2008 15:43:00 +0000 (16:43 +0100)
commit1868f958eb56fc41c5985c8732e564a400c5fdf5
tree4f8d83e487e5fa93e3d773591a26eda02d1b387d
parent150d8bede7f85eb00d8f4d628e6b0bae68739e3b
sched: fix the wrong time slice value for SCHED_FIFO tasks

Function sys_sched_rr_get_interval returns wrong time slice value for
SCHED_FIFO tasks. The time slice for SCHED_FIFO tasks should be 0.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c