Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761346AbZFQVn7 (ORCPT ); Wed, 17 Jun 2009 17:43:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752301AbZFQVnw (ORCPT ); Wed, 17 Jun 2009 17:43:52 -0400 Received: from hera.kernel.org ([140.211.167.34]:48904 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751641AbZFQVnv (ORCPT ); Wed, 17 Jun 2009 17:43:51 -0400 Message-ID: <4A396361.2000302@kernel.org> Date: Wed, 17 Jun 2009 14:42:57 -0700 From: Yinghai Lu User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Rusty Russell , Andrew Morton CC: "linux-kernel@vger.kernel.org" Subject: [PATCH] x86: use zalloc_cpumask_var for mce_devinitialized Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 897 Lines: 27 to make MAXSMP happy Signed-off-by: Yinghai Lu --- arch/x86/kernel/cpu/mcheck/mce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/arch/x86/kernel/cpu/mcheck/mce.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/cpu/mcheck/mce.c +++ linux-2.6/arch/x86/kernel/cpu/mcheck/mce.c @@ -1969,7 +1969,7 @@ static __init int mce_init_device(void) if (!mce_available(&boot_cpu_data)) return -EIO; - alloc_cpumask_var(&mce_dev_initialized, GFP_KERNEL); + zalloc_cpumask_var(&mce_dev_initialized, GFP_KERNEL); err = mce_init_banks(); if (err) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/