|
|
@@ -640,7 +640,7 @@ void init_dl_task_timer(struct sched_dl_entity *dl_se)
|
|
|
}
|
|
|
|
|
|
static
|
|
|
-int dl_runtime_exceeded(struct rq *rq, struct sched_dl_entity *dl_se)
|
|
|
+int dl_runtime_exceeded(struct sched_dl_entity *dl_se)
|
|
|
{
|
|
|
return (dl_se->runtime <= 0);
|
|
|
}
|
|
|
@@ -684,7 +684,7 @@ static void update_curr_dl(struct rq *rq)
|
|
|
sched_rt_avg_update(rq, delta_exec);
|
|
|
|
|
|
dl_se->runtime -= dl_se->dl_yielded ? 0 : delta_exec;
|
|
|
- if (dl_runtime_exceeded(rq, dl_se)) {
|
|
|
+ if (dl_runtime_exceeded(dl_se)) {
|
|
|
dl_se->dl_throttled = 1;
|
|
|
__dequeue_task_dl(rq, curr, 0);
|
|
|
if (unlikely(!start_dl_timer(dl_se, curr->dl.dl_boosted)))
|