linux/arch/s390
Rusty Russell 93632d1bf7 [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 <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-03-26 15:24:33 +01:00
..
appldata Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2008-12-28 12:49:40 -08:00
boot
crypto [S390] use kzfree() 2009-03-26 15:24:29 +01:00
hypfs zero i_uid/i_gid on inode allocation 2009-01-05 11:54:28 -05:00
include/asm [S390] cpumask: remove cpu_coregroup_map 2009-03-26 15:24:32 +01:00
kernel [S390] cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits. 2009-03-26 15:24:33 +01:00
kvm [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00
lib [S390] use compiler builtin versions of strlen/strcpy/strcat 2009-03-26 15:24:24 +01:00
math-emu [S390] remove -traditional 2008-04-30 13:38:44 +02:00
mm [S390] move EXPORT_SYMBOLs to definitions 2009-03-26 15:24:11 +01:00
oprofile
defconfig [S390] Update default configuration. 2009-02-11 10:37:40 +01:00
Kconfig [S390] zfcpdump: Prevent zcore from beeing built as a kernel module. 2009-03-26 15:24:28 +01:00
Kconfig.debug
Makefile [S390] Add processor type march=z10 and a processor type safety check. 2008-12-25 13:39:12 +01:00