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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 926491f7f803..0228de186503 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -481,7 +481,7 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)
481 481
482 if (!initial) { 482 if (!initial) {
483 if (sched_feat(NEW_FAIR_SLEEPERS)) { 483 if (sched_feat(NEW_FAIR_SLEEPERS)) {
484 s64 latency = cfs_rq->min_vruntime - se->last_min_vruntime; 484 s64 latency = cfs_rq->min_vruntime - se->vruntime;
485 if (latency < 0 || !cfs_rq->nr_running) 485 if (latency < 0 || !cfs_rq->nr_running)
486 latency = 0; 486 latency = 0;
487 else 487 else