kernel-ark/kernel
Paul Jackson 4098f9918e [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>
2005-10-30 17:37:28 -08:00
..
irq
power
acct.c
audit.c
auditsc.c
capability.c
compat.c
configs.c
cpu.c
cpuset.c [PATCH] cpusets: automatic numa mempolicy rebinding 2005-10-30 17:37:22 -08:00
crash_dump.c
dma.c
exec_domain.c
exit.c [PATCH] wait4 PTRACE_ATTACH race fix 2005-10-30 17:37:24 -08:00
extable.c
fork.c
futex.c
intermodule.c
itimer.c
kallsyms.c
Kconfig.hz
Kconfig.preempt
kexec.c
kfifo.c
kmod.c [PATCH] Keys: Get rid of warning in kmod.c if keys disabled 2005-10-30 17:37:23 -08:00
kprobes.c
ksysfs.c
kthread.c
Makefile [PATCH] RCU torture-testing kernel module 2005-10-30 17:37:27 -08:00
module.c
panic.c
params.c
pid.c
posix-cpu-timers.c [PATCH] posix-cpu-timers: fix overrun reporting 2005-10-30 17:37:27 -08:00
posix-timers.c [PATCH] posix-timers: use schedule_timeout() in common_nsleep() 2005-10-30 17:37:20 -08:00
printk.c [PATCH] cleanup for kernel/printk.c 2005-10-30 17:37:23 -08:00
profile.c
ptrace.c [PATCH] ptrace/coredump/exit_group deadlock 2005-10-30 17:37:22 -08:00
rcupdate.c [PATCH] RCU torture-testing kernel module 2005-10-30 17:37:27 -08:00
rcutorture.c [PATCH] RCU torture-testing kernel module 2005-10-30 17:37:27 -08:00
resource.c
sched.c [PATCH] sched: hardcode non-smp set_cpus_allowed 2005-10-30 17:37:28 -08:00
seccomp.c
signal.c [PATCH] ptrace/coredump/exit_group deadlock 2005-10-30 17:37:22 -08:00
softirq.c
softlockup.c
spinlock.c
stop_machine.c
sys_ni.c
sys.c
sysctl.c
time.c
timer.c [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
uid16.c
user.c
wait.c
workqueue.c [PATCH] Use alloc_percpu to allocate workqueues locally 2005-10-30 17:37:18 -08:00