aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/alternative.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/alternative.c')
-rw-r--r--arch/i386/kernel/alternative.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/alternative.c b/arch/i386/kernel/alternative.c
index 27a6b0c9a7cc..1b66d5c70eaf 100644
--- a/arch/i386/kernel/alternative.c
+++ b/arch/i386/kernel/alternative.c
@@ -388,7 +388,7 @@ void __init alternative_instructions(void)
388 that might execute the to be patched code. 388 that might execute the to be patched code.
389 Other CPUs are not running. */ 389 Other CPUs are not running. */
390 stop_nmi(); 390 stop_nmi();
391#ifdef CONFIG_MCE 391#ifdef CONFIG_X86_MCE
392 stop_mce(); 392 stop_mce();
393#endif 393#endif
394 394
@@ -426,7 +426,7 @@ void __init alternative_instructions(void)
426 local_irq_restore(flags); 426 local_irq_restore(flags);
427 427
428 restart_nmi(); 428 restart_nmi();
429#ifdef CONFIG_MCE 429#ifdef CONFIG_X86_MCE
430 restart_mce(); 430 restart_mce();
431#endif 431#endif
432} 432}