diff --git a/kernel/sched.c b/kernel/sched.c index ac3f5cc3bb51f725bbf5b8eae5db83516a3c9dee..b6506671b2be08c8da0a5582800d3ec0fffc7280 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -815,7 +815,8 @@ static void activate_task(task_t *p, runqueue_t *rq, int local) } #endif - p->prio = recalc_task_prio(p, now); + if (!rt_task(p)) + p->prio = recalc_task_prio(p, now); /* * This checks to make sure it's not an uninterruptible task