]> bbs.cooldavid.org Git - net-next-2.6.git/commit - kernel/sched.c
sched: convert sched.c from for_each_cpu_mask to for_each_cpu.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 24 Nov 2008 16:05:02 +0000 (02:35 +1030)
committerIngo Molnar <mingo@elte.hu>
Mon, 24 Nov 2008 16:49:47 +0000 (17:49 +0100)
commitabcd083a1a658d2bc1f7fced02632bfe03918002
treeba9fe810b1fc62c7f66f9b5fc17c6f3e6bcbd35b
parentea6f18ed5a1531caf678374f30a0990c9e6742f3
sched: convert sched.c from for_each_cpu_mask to for_each_cpu.

Impact: trivial API conversion

This is a simple conversion, but note that for_each_cpu() terminates
with i >= nr_cpu_ids, not i == NR_CPUS like for_each_cpu_mask() did.

I don't convert all of them: sd->span changes in a later patch, so
change those iterators there rather than here.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c