linux-kernel-test/arch/cris/kernel
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
..
asm-offsets.c [CRIS] Merge asm-offsets.c for both arches into one file. 2008-10-31 23:37:00 +01:00
crisksyms.c Generic semaphore implementation 2008-04-17 10:42:34 -04:00
irq.c cris build fixes: irq fixes 2007-11-14 18:45:45 -08:00
Makefile Generic semaphore implementation 2008-04-17 10:42:34 -04:00
module.c CRIS: Add configuration possibility for using kmalloc for modules. 2008-02-08 11:06:36 +01:00
process.c take init_fs to saner place 2008-12-31 18:07:42 -05:00
profile.c cris: use simple_read_from_buffer() 2008-07-24 10:47:24 -07:00
ptrace.c CRIS: Remove useless CVS log from kernel/ptrace.c 2008-02-08 11:06:37 +01:00
setup.c cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits.: cris 2009-03-16 14:11:46 +10:30
sys_cris.c cris: kill sys_pipe implementation 2008-05-09 08:03:03 -07:00
time.c cris: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
traps.c CRIS: Minor generic kernel/traps.c changes. 2008-02-08 11:06:24 +01:00
vmlinux.lds.S [CRIS] Remove links from CRIS build 2008-10-31 23:37:57 +01:00