sched: Unify the ->cpus_allowed mask copy
authorPeter Zijlstra <peterz@infradead.org>
Sat, 25 Jun 2011 13:45:46 +0000 (15:45 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 6 Oct 2011 10:47:00 +0000 (12:47 +0200)
Currently every sched_class::set_cpus_allowed() implementation has to
copy the cpumask into task_struct::cpus_allowed, this is pointless,
put this copy in the generic code.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/n/tip-jhl5s9fckd9ptw1fzbqqlrd3@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_rt.c

diff --cc kernel/sched.c
Simple merge
Simple merge