From: Chen Yucong Date: Sat, 1 Nov 2014 10:23:32 +0000 (+0100) Subject: x86, MCE, AMD: Assign interrupt handler only when bank supports it X-Git-Tag: omap-for-v3.19/fixes-rc1~153^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dcf32ea220d87ca517e164de85d336480c9d172;p=pandora-kernel.git x86, MCE, AMD: Assign interrupt handler only when bank supports it There are some AMD CPU models which have thresholding banks but which cannot generate a thresholding interrupt. This is denoted by the bit MCi_MISC[IntP]. Make sure to check that bit before assigning the thresholding interrupt handler. Signed-off-by: Chen Yucong [ Boris: save an indentation level and rewrite commit message. ] Link: http://lkml.kernel.org/r/1412662128.28440.18.camel@debian Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed