提交 d2d0251f 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

i386: really stop MCEs during code patching

It's CONFIG_X86_MCE, not CONFIG_MCE.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 08da5a2c
...@@ -388,7 +388,7 @@ void __init alternative_instructions(void) ...@@ -388,7 +388,7 @@ void __init alternative_instructions(void)
that might execute the to be patched code. that might execute the to be patched code.
Other CPUs are not running. */ Other CPUs are not running. */
stop_nmi(); stop_nmi();
#ifdef CONFIG_MCE #ifdef CONFIG_X86_MCE
stop_mce(); stop_mce();
#endif #endif
...@@ -426,7 +426,7 @@ void __init alternative_instructions(void) ...@@ -426,7 +426,7 @@ void __init alternative_instructions(void)
local_irq_restore(flags); local_irq_restore(flags);
restart_nmi(); restart_nmi();
#ifdef CONFIG_MCE #ifdef CONFIG_X86_MCE
restart_mce(); restart_mce();
#endif #endif
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册