i386: really stop MCEs during code patching

It's CONFIG_X86_MCE, not CONFIG_MCE.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Adrian Bunk and committed by Linus Torvalds d2d0251f 08da5a2c

+2 -2
+2 -2
arch/i386/kernel/alternative.c
··· 388 that might execute the to be patched code. 389 Other CPUs are not running. */ 390 stop_nmi(); 391 - #ifdef CONFIG_MCE 392 stop_mce(); 393 #endif 394 ··· 426 local_irq_restore(flags); 427 428 restart_nmi(); 429 - #ifdef CONFIG_MCE 430 restart_mce(); 431 #endif 432 }
··· 388 that might execute the to be patched code. 389 Other CPUs are not running. */ 390 stop_nmi(); 391 + #ifdef CONFIG_X86_MCE 392 stop_mce(); 393 #endif 394 ··· 426 local_irq_restore(flags); 427 428 restart_nmi(); 429 + #ifdef CONFIG_X86_MCE 430 restart_mce(); 431 #endif 432 }