Rusty Russell 4f4b6c1a94 cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits.: core
Impact: cleanup

In future, all cpumask ops will only be valid (in general) for bit
numbers < nr_cpu_ids.  So use that instead of NR_CPUS in iterators
and other comparisons.

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>
Acked-by: James Morris <jmorris@namei.org>
Cc: Eric Biederman <ebiederm@xmission.com>
2009-01-01 10:12:15 +10:30
..
2008-12-25 11:40:09 +11:00
2008-11-14 10:39:23 +11:00
2008-12-25 11:40:09 +11:00
2008-11-24 18:57:41 -05:00
2008-10-16 11:21:30 -07:00
2008-12-29 08:29:50 +01:00
2008-09-14 16:25:35 +02:00
2008-11-14 10:39:23 +11:00
2008-12-10 08:01:54 -08:00
2008-10-20 15:43:10 +02:00
2008-10-21 15:59:53 +02:00
2008-12-16 09:46:33 +01:00
2008-11-05 10:30:14 +01:00
2008-11-19 18:49:57 -08:00
2008-11-14 11:29:12 +11:00
2008-10-16 11:21:47 -07:00
2008-10-16 11:21:31 -07:00
2008-11-14 11:29:12 +11:00