diff options
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 4ee400f9d56b..b47819b676fa 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -4877,7 +4877,7 @@ static int __migrate_task(struct task_struct *p, int src_cpu, int dest_cpu) | |||
4877 | p->timestamp = p->timestamp - rq_src->timestamp_last_tick | 4877 | p->timestamp = p->timestamp - rq_src->timestamp_last_tick |
4878 | + rq_dest->timestamp_last_tick; | 4878 | + rq_dest->timestamp_last_tick; |
4879 | deactivate_task(p, rq_src); | 4879 | deactivate_task(p, rq_src); |
4880 | activate_task(p, rq_dest, 0); | 4880 | __activate_task(p, rq_dest); |
4881 | if (TASK_PREEMPTS_CURR(p, rq_dest)) | 4881 | if (TASK_PREEMPTS_CURR(p, rq_dest)) |
4882 | resched_task(rq_dest->curr); | 4882 | resched_task(rq_dest->curr); |
4883 | } | 4883 | } |