diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-29 11:05:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-29 11:05:33 -0400 |
commit | 37542b6a7e73e81f8c066a48e6911e476ee3b22f (patch) | |
tree | 39da99d28803b18c223eebe45c3170992ee08b7e /kernel/sched.c | |
parent | c07724e5b868c603f2a65f3855c77b23454db3ed (diff) | |
parent | d4a6f3c32c39132318454e77d59ab14b06f6eb02 (diff) |
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
sched_stat: Update sched_info_queue/dequeue() code comments
sched, cgroup: Fixup broken cgroup movement
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index d42992bccdfa..aa14a56f9d03 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -8510,12 +8510,12 @@ void sched_move_task(struct task_struct *tsk) | |||
8510 | if (unlikely(running)) | 8510 | if (unlikely(running)) |
8511 | tsk->sched_class->put_prev_task(rq, tsk); | 8511 | tsk->sched_class->put_prev_task(rq, tsk); |
8512 | 8512 | ||
8513 | set_task_rq(tsk, task_cpu(tsk)); | ||
8514 | |||
8515 | #ifdef CONFIG_FAIR_GROUP_SCHED | 8513 | #ifdef CONFIG_FAIR_GROUP_SCHED |
8516 | if (tsk->sched_class->moved_group) | 8514 | if (tsk->sched_class->task_move_group) |
8517 | tsk->sched_class->moved_group(tsk, on_rq); | 8515 | tsk->sched_class->task_move_group(tsk, on_rq); |
8516 | else | ||
8518 | #endif | 8517 | #endif |
8518 | set_task_rq(tsk, task_cpu(tsk)); | ||
8519 | 8519 | ||
8520 | if (unlikely(running)) | 8520 | if (unlikely(running)) |
8521 | tsk->sched_class->set_curr_task(rq); | 8521 | tsk->sched_class->set_curr_task(rq); |