]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched: set_cpus_allowed_ptr(): Don't use rq->migration_thread after unlock
authorOleg Nesterov <oleg@redhat.com>
Tue, 30 Mar 2010 16:58:29 +0000 (18:58 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:18:04 +0000 (13:18 -0700)
commit20b622cd1f1a7f557f1587524c75e72f10d8193e
tree4c856508066e7a0ad912eb61f6a56e57f4917efa
parent4b3d9e7ce5a9e6409df1512127feb9973df1ea57
sched: set_cpus_allowed_ptr(): Don't use rq->migration_thread after unlock

commit 47a70985e5c093ae03d8ccf633c70a93761d86f2 upstream

Trivial typo fix. rq->migration_thread can be NULL after
task_rq_unlock(), this is why we have "mt" which should be
 used instead.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20100330165829.GA18284@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/sched.c