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>
This commit is contained in:
Mike Travis 2008-07-18 18:11:29 -07:00 • committed by Ingo Molnar
commit 247bc6ca0f