From: Wanpeng Li Date: Wed, 5 Nov 2014 01:14:37 +0000 (+0800) Subject: sched: Move p->nr_cpus_allowed check to select_task_rq() X-Git-Tag: omap-for-v3.19/fixes-rc1~165^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c1d9410f007a26d13173cf17204cfd965f49b83;p=pandora-kernel.git sched: Move p->nr_cpus_allowed check to select_task_rq() Move the p->nr_cpus_allowed check into kernel/sched/core.c: select_task_rq(). This change will make fair.c, rt.c, and deadline.c all start with the same logic. Suggested-and-Acked-by: Steven Rostedt Signed-off-by: Wanpeng Li Signed-off-by: Peter Zijlstra (Intel) Cc: "pang.xunlei" Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1415150077-59053-1-git-send-email-wanpeng.li@linux.intel.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed