]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerBorislav Petkov <borislav.petkov@amd.com>
Mon, 30 Apr 2012 11:22:44 +0000 (13:22 +0200)
commitd26ecc4894464318dce51d709e19dd9d88916bee
tree5ab481b2e9af1eb50be90d39003ad3f5af905b90
parentf227d4306cf30e1d5b6f231e8ef9006c34f3d186
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