x86: use zalloc_cpumask_var for mce_dev_initialized
authorYinghai Lu <yinghai@kernel.org>
Wed, 17 Jun 2009 23:21:33 +0000 (16:21 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 18 Jun 2009 04:47:18 +0000 (21:47 -0700)
commite92fae064ae42b2a4a77646f7655bca4c87bb1eb
tree70dd8ae1c7408cc40603e3934b56ae527b2afdd1
parent74b602c7147212a7495879ec23fe6c2d3b470e06
x86: use zalloc_cpumask_var for mce_dev_initialized

We need a cleared cpu_mask to record if mce is initialized, especially
when MAXSMP is used.

used zalloc_... instead

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: stable@kernel.org
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce.c