Rusty Russell
0f23174aa8
cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits: net
...
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-29 22:44:47 -08:00
..
2008-12-29 18:37:36 -08:00
2008-10-08 11:35:11 +02:00
2008-12-10 17:24:33 -08:00
2008-10-08 14:26:36 -07:00
2008-11-03 18:21:05 -08:00
2008-11-17 16:01:42 +01:00
2008-11-28 02:19:15 -08:00
2008-11-18 11:56:20 +01:00
2008-11-18 11:56:20 +01:00
2008-07-26 17:50:05 -07:00
2008-11-25 18:23:03 +01:00
2008-01-31 19:28:07 -08:00
2008-11-17 16:01:42 +01:00
2008-01-31 19:28:07 -08:00
2008-11-28 02:19:15 -08:00
2008-11-17 16:01:42 +01:00
2008-04-14 11:15:52 +02:00
2008-11-17 16:01:42 +01:00
2008-11-28 02:19:15 -08:00
2008-11-17 16:01:42 +01:00
2008-10-08 11:35:08 +02:00
2008-11-03 18:21:05 -08:00
2008-11-20 10:01:37 +01:00
2008-11-24 13:47:21 +01:00
2008-11-03 18:21:05 -08:00
2008-11-03 18:21:05 -08:00
2008-11-03 18:21:05 -08:00
2008-11-05 03:03:18 -08:00
2008-11-17 16:01:42 +01:00
2008-11-17 16:01:42 +01:00
2008-12-29 22:44:47 -08:00
2008-11-17 16:01:42 +01:00
2008-10-08 11:35:00 +02:00
2008-10-08 11:35:00 +02:00
2008-10-08 11:35:00 +02:00
2008-10-08 11:35:11 +02:00
2008-10-12 21:08:34 -07:00
2008-12-28 12:49:40 -08:00
2008-07-19 22:34:43 -07:00
2008-10-16 15:24:51 -07:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2008-12-14 23:19:02 -08:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00
2008-10-31 00:54:29 -07:00
2008-10-08 11:35:20 +02:00
2008-10-31 00:54:29 -07:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:18 +02:00
2008-11-04 14:21:08 +01:00
2008-10-20 03:34:51 -07:00
2008-10-08 11:35:20 +02:00
2008-11-14 10:39:25 +11:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:20 +02:00
2008-11-20 09:57:01 +01:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:19 +02:00
2008-12-07 23:53:46 -08:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00