Commit 413588c7 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86-64: Remove code to resume machine check state of other CPUs.

The resume code uses CPU hotplug now so at resume time
we only ever see one CPU.

Pointed out by Yu Luming.
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b9aac10d
...@@ -515,10 +515,12 @@ __setup("mce", mcheck_enable); ...@@ -515,10 +515,12 @@ __setup("mce", mcheck_enable);
* Sysfs support * Sysfs support
*/ */
/* On resume clear all MCE state. Don't want to see leftovers from the BIOS. */ /* On resume clear all MCE state. Don't want to see leftovers from the BIOS.
Only one CPU is active at this time, the others get readded later using
CPU hotplug. */
static int mce_resume(struct sys_device *dev) static int mce_resume(struct sys_device *dev)
{ {
on_each_cpu(mce_init, NULL, 1, 1); mce_init(NULL);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment