diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-29 08:05:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-29 08:05:33 -0700 |
commit | 37542b6a7e73e81f8c066a48e6911e476ee3b22f (patch) | |
tree | 39da99d28803b18c223eebe45c3170992ee08b7e /kernel/sched.c | |
parent | c07724e5b868c603f2a65f3855c77b23454db3ed (diff) | |
parent | d4a6f3c32c39132318454e77d59ab14b06f6eb02 (diff) | |
download | blackbird-op-linux-37542b6a7e73e81f8c066a48e6911e476ee3b22f.tar.gz blackbird-op-linux-37542b6a7e73e81f8c066a48e6911e476ee3b22f.zip |
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) if (unlikely(running)) tsk->sched_class->put_prev_task(rq, tsk); - set_task_rq(tsk, task_cpu(tsk)); - #ifdef CONFIG_FAIR_GROUP_SCHED - if (tsk->sched_class->moved_group) - tsk->sched_class->moved_group(tsk, on_rq); + if (tsk->sched_class->task_move_group) + tsk->sched_class->task_move_group(tsk, on_rq); + else #endif + set_task_rq(tsk, task_cpu(tsk)); if (unlikely(running)) tsk->sched_class->set_curr_task(rq); |