NR_CPUS: Replace NR_CPUS in arch/x86/kernel/cpu/proc.c
authorMike Travis <travis@sgi.com>
Sat, 19 Jul 2008 01:11:28 +0000 (18:11 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 20 Jul 2008 08:21:09 +0000 (10:21 +0200)
commitf2ad47ffeb1d292b7c7d1e2f6aedb37646c391db
treec7a41bf4fd19e4ecfa59a1f9f1d88f0139252bd9
parent6bca67f951f80b9e61078f8cdf5fb7b3d9e51aa9
NR_CPUS: Replace NR_CPUS in arch/x86/kernel/cpu/proc.c

  * Use nr_cpu_ids instead of NR_CPUS to limit traversal of cpu online map.

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