diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-26 15:24:59 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 15:24:33 +0100 |
commit | 93632d1bf7447d445c6fc274c8931152f9412b56 (patch) | |
tree | 92034c77deb9dff69e62224acb6f7b2e40acc3dc /arch/s390/include/asm | |
parent | 6f7a321d5feb0bc9aa7f7b14eceb1e6a63bff937 (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/s390/include/asm')
0 files changed, 0 insertions, 0 deletions