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-31 23:05:57 +10:30
2008-12-19 09:42:40 +01:00
2008-12-31 23:05:57 +10:30
2008-12-31 23:05:57 +10:30
2008-11-14 10:39:12 +11:00
2008-11-15 12:26:44 -08:00
2008-12-09 02:27:41 -05:00
2008-11-15 12:26:44 -08:00
2008-12-25 11:40:09 +11:00
2008-11-14 10:39:23 +11:00
2008-10-20 08:52:38 -07:00
2008-11-12 17:17:16 -08:00
2008-12-25 11:40:09 +11:00
2008-10-20 13:14:06 +02:00
2008-10-20 08:52:34 -07:00
2008-12-30 09:05:16 +10:30
2008-12-13 21:20:25 +10:30
2008-11-14 10:39:23 +11:00
2008-11-24 18:57:41 -05:00
2008-12-18 13:54:01 +01:00
2008-10-16 11:21:30 -07:00
2008-10-23 14:30:41 +04:00
2008-12-30 17:20:05 -08:00
2008-12-30 16:10:19 -08:00
2008-12-29 08:29:50 +01:00
2008-10-30 11:38:45 -07:00
2008-11-14 10:39:19 +11:00
2008-12-30 16:10:19 -08:00
2008-12-19 00:45:32 +01:00
2008-09-14 16:25:35 +02:00
2008-12-19 22:47:10 +01:00
2008-10-20 08:52:34 -07:00
2008-12-25 09:31:28 +01:00
2009-01-01 10:12:15 +10:30
2008-10-06 13:50:59 -05:00
2008-11-14 10:39:23 +11:00
2008-11-12 17:17:17 -08:00
2008-10-16 11:21:31 -07:00
2008-11-16 09:01:36 +01:00
2008-12-10 08:01:54 -08:00
2008-10-20 15:43:10 +02:00
2008-12-30 16:10:19 -08:00
2008-12-30 16:10:19 -08:00
2008-11-16 09:52:03 +01:00
2008-12-08 15:11:44 +01:00
2008-11-24 10:00:28 +01:00
2008-11-26 08:22:50 +01:00
2008-11-24 18:57:41 -05:00
2008-12-25 13:53:11 +01:00
2008-10-23 12:09:00 -07:00
2008-12-25 13:51:46 +01:00
2008-12-25 18:02:25 +01:00
2008-12-19 22:52:47 +01:00
2008-12-30 08:02:35 +10:30
2008-12-28 12:21:10 -08:00
2008-11-03 18:34:55 +01:00
2008-10-21 15:59:53 +02:00
2008-12-18 21:56:04 +01:00
2008-12-18 21:56:04 +01:00
2008-12-17 00:04:40 +01:00
2008-12-18 21:56:04 +01:00
2008-12-18 21:56:04 +01:00
2008-12-10 08:01:52 -08:00
2008-12-16 23:30:49 +01:00
2008-12-14 16:23:17 -08:00
2008-12-01 20:39:50 +01:00
2008-12-16 09:46:33 +01:00
2008-11-05 10:30:14 +01:00
2008-10-22 10:01:52 +02:00
2008-12-25 13:42:23 +01:00
2008-12-30 08:02:35 +10:30
2008-12-31 23:05:57 +10:30
2008-12-28 12:21:10 -08:00
2009-01-01 10:12:15 +10:30
2008-12-25 14:06:29 +01:00
2008-12-25 13:51:46 +01:00
2008-12-25 11:44:43 +01:00
2008-11-16 15:09:52 -08:00
2008-11-19 18:49:57 -08:00
2008-12-30 16:10:19 -08:00
2008-10-30 18:30:09 +11:00
2008-12-28 20:19:47 -08:00
2008-12-13 21:20:25 +10:30
2008-11-14 11:29:12 +11:00
2008-11-16 09:52:03 +01:00
2008-11-14 10:39:19 +11:00
2008-11-14 10:39:18 +11:00
2008-11-24 18:57:41 -05:00
2008-12-28 12:27:58 -08: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