]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86, MCE, AMD: Hide interrupt_enable sysfs node
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 16 Apr 2012 16:20:36 +0000 (18:20 +0200)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 15 Jun 2012 20:41:02 +0000 (00:41 +0400)
commit30f137f0cf7304cc1213cb6504f806d7b7b44056
treeab61c3484ae5b264796e524826f7424361589481
parentef1cc66061d682a3194113231cc763946aee6349
x86, MCE, AMD: Hide interrupt_enable sysfs node

Depending on whether the box supports the APIC LVT interrupt for
thresholding, we want to show the 'interrupt_enable' sysfs node or not.
Make that the case by adding it to the default sysfs attributes only if
it is supported.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
arch/x86/kernel/cpu/mcheck/mce_amd.c