diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 908335e1781a..d62b759753f3 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -7087,8 +7087,10 @@ void sched_move_task(struct task_struct *tsk) | |||
7087 | 7087 | ||
7088 | rq = task_rq_lock(tsk, &flags); | 7088 | rq = task_rq_lock(tsk, &flags); |
7089 | 7089 | ||
7090 | if (tsk->sched_class != &fair_sched_class) | 7090 | if (tsk->sched_class != &fair_sched_class) { |
7091 | set_task_cfs_rq(tsk); | ||
7091 | goto done; | 7092 | goto done; |
7093 | } | ||
7092 | 7094 | ||
7093 | update_rq_clock(rq); | 7095 | update_rq_clock(rq); |
7094 | 7096 | ||