From: Andi Kleen Date: Thu, 12 Feb 2009 12:39:30 +0000 (+0100) Subject: x86, mce: don't set up mce sysdev devices with mce=off X-Git-Tag: v2.6.30-rc1~2^2~50^2~5^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b4408fdaa62474dd9485cddb9126370d90d4b82;p=pandora-kernel.git 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 Acked-by: Thomas Gleixner Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed