diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched_fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 62a9ee8db13e..2bd9625fa62d 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -483,7 +483,7 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial) | |||
483 | if (sched_feat(NEW_FAIR_SLEEPERS)) | 483 | if (sched_feat(NEW_FAIR_SLEEPERS)) |
484 | vruntime -= sysctl_sched_latency; | 484 | vruntime -= sysctl_sched_latency; |
485 | 485 | ||
486 | vruntime = max(vruntime, se->vruntime); | 486 | vruntime = max_t(s64, vruntime, se->vruntime); |
487 | } | 487 | } |
488 | 488 | ||
489 | se->vruntime = vruntime; | 489 | se->vruntime = vruntime; |