]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86, mce: don't set up mce sysdev devices with mce=off
authorAndi Kleen <andi@firstfloor.org>
Thu, 12 Feb 2009 12:39:30 +0000 (13:39 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 Feb 2009 23:32:50 +0000 (15:32 -0800)
commit5b4408fdaa62474dd9485cddb9126370d90d4b82
treede7b83f9e2a9a722ee70b468f5a21ba4f3b00bc2
parent52d168e28bc11dd026b620fe1767cadde5a747cd
x86, mce: don't set up mce sysdev devices with mce=off

Impact: bug fix, in this case the resume handler shouldn't run which
avoids incorrectly reenabling machine checks on resume

When MCEs are completely disabled on the command line don't set
up the sysdev devices for them either.

Includes a comment fix from Thomas Gleixner.

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