]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/sched_rt.c
sched: tidy up SCHED_RR
[linux-2.6-omap-h63xx.git] / kernel / sched_rt.c
index 2f26c3d73506c58b6910ae15da93bb211ffbb2d8..d0097a0634e54f3dfcce71da006359c6d22d5b01 100644 (file)
@@ -206,7 +206,7 @@ static void task_tick_rt(struct rq *rq, struct task_struct *p)
        if (--p->time_slice)
                return;
 
-       p->time_slice = static_prio_timeslice(p->static_prio);
+       p->time_slice = DEF_TIMESLICE;
 
        /*
         * Requeue to the end of queue if we are not the only element