diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 213294fdcd0f..c779bf9d3552 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -1052,9 +1052,7 @@ void set_task_cpu(struct task_struct *p, unsigned int new_cpu) | |||
1052 | if (p->se.block_start) | 1052 | if (p->se.block_start) |
1053 | p->se.block_start -= clock_offset; | 1053 | p->se.block_start -= clock_offset; |
1054 | #endif | 1054 | #endif |
1055 | if (likely(new_rq->cfs.min_vruntime)) | 1055 | p->se.vruntime -= old_rq->cfs.min_vruntime - new_rq->cfs.min_vruntime; |
1056 | p->se.vruntime -= old_rq->cfs.min_vruntime - | ||
1057 | new_rq->cfs.min_vruntime; | ||
1058 | 1056 | ||
1059 | __set_task_cpu(p, new_cpu); | 1057 | __set_task_cpu(p, new_cpu); |
1060 | } | 1058 | } |