1
linux/arch/x86/mach-voyager
Mike Travis 168ef543a4 x86: prepare for cpumask iterators to only go to nr_cpu_ids
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>
2008-12-16 17:40:58 -08:00
..
Makefile
setup.c x86, voyager: fix smp_intr_init() compile breakage 2008-11-03 10:52:21 +01:00
voyager_basic.c x86: remove pointless comments 2008-04-19 19:19:54 +02:00
voyager_cat.c x86, voyager: fix ioremap_nocache() 2008-04-30 23:15:34 +02:00
voyager_smp.c x86: prepare for cpumask iterators to only go to nr_cpu_ids 2008-12-16 17:40:58 -08:00
voyager_thread.c x86: remove pointless comments 2008-04-19 19:19:54 +02:00