NR_CPUS: Replace NR_CPUS in arch/x86/kernel/cpu/mcheck/mce_64.c
authorMike Travis <travis@sgi.com>
Sat, 19 Jul 2008 01:11:27 +0000 (18:11 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 20 Jul 2008 08:21:08 +0000 (10:21 +0200)
commit6bca67f951f80b9e61078f8cdf5fb7b3d9e51aa9
tree4a390ac1d4295349ed17054c1637e6794f508a84
parent06f8d00e9eecb738c99b737ac38a585ea7583ad5
NR_CPUS: Replace NR_CPUS in arch/x86/kernel/cpu/mcheck/mce_64.c

  * nr_cpu_ids should be used to allocate arrays based on the number of
    cpu's present.

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