]> err.no Git - linux-2.6/commit
NR_CPUS: Replace NR_CPUS in arch/x86/kernel/genx2apic_uv_x.c
authorMike Travis <travis@sgi.com>
Sat, 19 Jul 2008 01:11:29 +0000 (18:11 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 20 Jul 2008 08:21:09 +0000 (10:21 +0200)
commit247bc6ca0f691e4617e7bdb70cbaccc939f754ec
treea1069c2fcb70564db43e3351680f32544666d3c8
parentf2ad47ffeb1d292b7c7d1e2f6aedb37646c391db
NR_CPUS: Replace NR_CPUS in arch/x86/kernel/genx2apic_uv_x.c

  * Replace NR_CPUS loop with for_each_possible_cpu().

  * nr_cpu_ids should be used to determine if a percpu area is
    available for a given cpu.

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/genx2apic_uv_x.c