Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7262b6e4 authored by Hidetoshi Seto's avatar Hidetoshi Seto Committed by H. Peter Anvin
Browse files

x86, mce: Fix mce resume on 32bit



Calling mcheck_init() on resume is required only with
CONFIG_X86_OLD_MCE=y.

Signed-off-by: default avatarHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Acked-by: default avatarAndi Kleen <andi@firstfloor.org>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 854c879f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ static void __restore_processor_state(struct saved_context *ctxt)
	do_fpu_end();
	mtrr_ap_init();

#ifdef CONFIG_X86_32
#ifdef CONFIG_X86_OLD_MCE
	mcheck_init(&boot_cpu_data);
#endif
}