public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: use zalloc_cpumask_var for mce_devinitialized
@ 2009-06-17 21:42 Yinghai Lu
  2009-06-17 21:43 ` [PATCH] x86: mce fix type Yinghai Lu
  2009-06-17 23:21 ` [PATCH] x86: use zalloc_cpumask_var for mce_dev_initialized -v2 Yinghai Lu
  0 siblings, 2 replies; 5+ messages in thread
From: Yinghai Lu @ 2009-06-17 21:42 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin, Rusty Russell,
	Andrew Morton
  Cc: linux-kernel@vger.kernel.org


to make MAXSMP happy

Signed-off-by: Yinghai Lu <yinghai@kernel.org>

---
 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)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-18  1:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17 21:42 [PATCH] x86: use zalloc_cpumask_var for mce_devinitialized Yinghai Lu
2009-06-17 21:43 ` [PATCH] x86: mce fix type Yinghai Lu
2009-06-18  1:56   ` Hidetoshi Seto
2009-06-17 23:21 ` [PATCH] x86: use zalloc_cpumask_var for mce_dev_initialized -v2 Yinghai Lu
2009-06-18  1:59   ` Hidetoshi Seto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox