diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2012-04-16 18:01:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-17 11:21:23 -0700 |
commit | cc3aeacdba55676938fc11e00e13699141b9aeb8 (patch) | |
tree | 3c5b620651414bc505e9aa6f4c588e45c2232a20 /drivers | |
parent | 8d9fe5b77cbabd1805b30418ba32b3c1389303d0 (diff) | |
download | linux-3.10-cc3aeacdba55676938fc11e00e13699141b9aeb8.tar.gz linux-3.10-cc3aeacdba55676938fc11e00e13699141b9aeb8.tar.bz2 linux-3.10-cc3aeacdba55676938fc11e00e13699141b9aeb8.zip |
x86, MCE, AMD: Make APIC LVT thresholding interrupt optional
commit f227d4306cf30e1d5b6f231e8ef9006c34f3d186 upstream.
Currently, the APIC LVT interrupt for error thresholding is implicitly
enabled. However, there are models in the F15h range which do not enable
it. Make the code machinery which sets up the APIC interrupt support
an optional setting and add an ->interrupt_capable member to the bank
representation mirroring that capability and enable the interrupt offset
programming only if it is true.
Simplify code and fixup comment style while at it.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Cc: Robert Richter <robert.richter@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions