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)
committerIngo Molnar <mingo@elte.hu>
Fri, 2 Apr 2010 18:11:05 +0000 (20:11 +0200)
commit47a70985e5c093ae03d8ccf633c70a93761d86f2
treecabda69d97cd880d9b3de382d41b6b7736575a8f
parent269484a492d9177072ee11ec8c9bff71d256837a
sched: set_cpus_allowed_ptr(): Don't use rq->migration_thread after unlock

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>
kernel/sched.c