From: Paul Jackson Date: Sun, 30 Oct 2005 23:03:21 +0000 (-0800) Subject: [PATCH] sched: hardcode non-smp set_cpus_allowed X-Git-Tag: v2.6.15-rc1~59^2~15^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4098f9918e068e51fed1727f6ba80efcec372378;p=pandora-kernel.git [PATCH] sched: hardcode non-smp set_cpus_allowed Simplify the UP (1 CPU) implementatin of set_cpus_allowed. The one CPU is hardcoded to be cpu 0 - so just test for that bit, and avoid having to pick up the cpu_online_map. Also, unexport cpu_online_map: it was only needed for set_cpus_allowed(). Signed-off-by: Paul Jackson Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed