summaryrefslogtreecommitdiff
path: root/arch/i386/power
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2005-11-07 08:58:42 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 15:53:30 (GMT)
commit31ab269a0307d8725737dfbbdeb5dcde7b41bc36 (patch)
tree15bfdaddcb3831d30e6d34caa54356b63adc61ae /arch/i386/power
parent47b90ffe5c10ab9b5cfd14087b28b13109673ee5 (diff)
downloadlinux-31ab269a0307d8725737dfbbdeb5dcde7b41bc36.tar.xz
[PATCH] x86: add MCE resume
It's widely seen a MCE non-fatal error reported after resume. It seems MCE resume is lacked under ia32. This patch tries to fix the gap. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/power')
-rw-r--r--arch/i386/power/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/i386/power/cpu.c b/arch/i386/power/cpu.c
index 1f15726..50a0bef 100644
--- a/arch/i386/power/cpu.c
+++ b/arch/i386/power/cpu.c
@@ -118,6 +118,7 @@ void __restore_processor_state(struct saved_context *ctxt)
fix_processor_context();
do_fpu_end();
mtrr_ap_init();
+ mcheck_init(&boot_cpu_data);
}
void restore_processor_state(void)