aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index f4dbc7e1ce4b..ca62f1973e2c 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -520,8 +520,7 @@ static void __enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se)
520 schedstat_add(cfs_rq, wait_runtime, se->wait_runtime); 520 schedstat_add(cfs_rq, wait_runtime, se->wait_runtime);
521} 521}
522 522
523static void 523static void enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se)
524enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
525{ 524{
526 struct task_struct *tsk = task_of(se); 525 struct task_struct *tsk = task_of(se);
527 unsigned long delta_fair; 526 unsigned long delta_fair;
@@ -580,7 +579,7 @@ enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
580 update_curr(cfs_rq); 579 update_curr(cfs_rq);
581 580
582 if (wakeup) 581 if (wakeup)
583 enqueue_sleeper(cfs_rq, se, now); 582 enqueue_sleeper(cfs_rq, se);
584 583
585 update_stats_enqueue(cfs_rq, se); 584 update_stats_enqueue(cfs_rq, se);
586 __enqueue_entity(cfs_rq, se); 585 __enqueue_entity(cfs_rq, se);