x86, mce: disable machine checks on offlined CPUs
authorAndi Kleen <andi@firstfloor.org>
Thu, 12 Feb 2009 12:39:31 +0000 (13:39 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 Feb 2009 23:32:56 +0000 (15:32 -0800)
commitd6b75584a3eaab8cb2ab3e8cf90c5e57c1928a85
treec7ebdcaed69bf744fb94c783101d9447c89cef54
parent5b4408fdaa62474dd9485cddb9126370d90d4b82
x86, mce: disable machine checks on offlined CPUs

Impact: Lower priority bug fix

Offlined CPUs could still get machine checks, but the machine check handler
cannot handle them properly, leading to an unconditional crash. Disable
machine checks on CPUs that are going down.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce_64.c