aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ixp2000
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-26 15:24:59 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 15:24:33 +0100
commit93632d1bf7447d445c6fc274c8931152f9412b56 (patch)
tree92034c77deb9dff69e62224acb6f7b2e40acc3dc /arch/arm/mach-ixp2000
parent6f7a321d5feb0bc9aa7f7b14eceb1e6a63bff937 (diff)
[S390] cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits.
Impact: cleanup, futureproof In fact, all cpumask ops will only be valid (in general) for bit numbers < nr_cpu_ids. So use that instead of NR_CPUS in various places (I also updated the immediate sites to use the new cpumask_ operators). This is always safe: no cpu number can be >= nr_cpu_ids, and nr_cpu_ids is initialized to NR_CPUS at boot. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Mike Travis <travis@sgi.com> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/arm/mach-ixp2000')
0 files changed, 0 insertions, 0 deletions