diff options
author | Paul Jackson <pj@sgi.com> | 2005-10-31 00:03:21 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-31 02:37:28 +0100 |
commit | 4098f9918e068e51fed1727f6ba80efcec372378 (patch) | |
tree | 0495f14e29ad93c165988be49c70ec658fffd086 /drivers/firmware | |
parent | [PATCH] fix build on nls free systems (diff) | |
download | linux-4098f9918e068e51fed1727f6ba80efcec372378.tar.xz linux-4098f9918e068e51fed1727f6ba80efcec372378.zip |
[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 <pj@sgi.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions