The pull_dl_task() is called above the comment, so
change pull_rt_task() to pull_dl_task() in comment.

Signed-off-by: T.Zhou <[email protected]>
---
 kernel/sched/deadline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index f276a81..d93b300 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -1137,7 +1137,7 @@ pick_next_task_dl(struct rq *rq, struct task_struct 
*prev, struct pin_cookie coo
                pull_dl_task(rq);
                lockdep_repin_lock(&rq->lock, cookie);
                /*
-                * pull_rt_task() can drop (and re-acquire) rq->lock; this
+                * pull_dl_task() can drop (and re-acquire) rq->lock; this
                 * means a stop task can slip in, in which case we need to
                 * re-start task selection.
                 */
-- 
2.7.3


Reply via email to