Rusty Russell 3e7be3fb40 cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits.: cris
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.

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>
2009-03-16 14:11:46 +10:30
..
2008-04-17 10:42:34 -04:00
2007-11-14 18:45:45 -08:00
2008-04-17 10:42:34 -04:00
2008-12-31 18:07:42 -05:00
2008-07-24 10:47:24 -07:00
2008-05-09 08:03:03 -07:00
2008-10-20 08:52:41 -07:00