[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070809124134.E4AD014F3B@wotan.suse.de>
Date: Thu, 9 Aug 2007 14:41:34 +0200 (CEST)
From: Andi Kleen <ak@...e.de>
To: bunk@...sta.de, patches@...-64.org, linux-kernel@...r.kernel.org
Subject: [PATCH] [7/12] x86_64: really stop MCEs during code patching
From: Adrian Bunk <bunk@...sta.de>
It's CONFIG_X86_MCE, not CONFIG_MCE.
Signed-off-by: Adrian Bunk <bunk@...sta.de>
Signed-off-by: Andi Kleen <ak@...e.de>
---
arch/i386/kernel/alternative.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux/arch/i386/kernel/alternative.c
===================================================================
--- linux.orig/arch/i386/kernel/alternative.c
+++ linux/arch/i386/kernel/alternative.c
@@ -388,7 +388,7 @@ void __init alternative_instructions(voi
that might execute the to be patched code.
Other CPUs are not running. */
stop_nmi();
-#ifdef CONFIG_MCE
+#ifdef CONFIG_X86_MCE
stop_mce();
#endif
@@ -426,7 +426,7 @@ void __init alternative_instructions(voi
local_irq_restore(flags);
restart_nmi();
-#ifdef CONFIG_MCE
+#ifdef CONFIG_X86_MCE
restart_mce();
#endif
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists