diff options
author | Rusty Russell <[email protected]> | 2009-03-26 15:24:59 +0100 |
---|---|---|
committer | Martin Schwidefsky <[email protected]> | 2009-03-26 15:24:33 +0100 |
commit | 93632d1bf7447d445c6fc274c8931152f9412b56 (patch) | |
tree | 92034c77deb9dff69e62224acb6f7b2e40acc3dc /net/lapb/lapb_in.c | |
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 <[email protected]>
Signed-off-by: Mike Travis <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions