diff options
author | Robert Richter <robert.richter@amd.com> | 2010-10-25 16:03:35 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-10-25 18:59:42 +0200 |
commit | 9c37c9d89773ee9da9f6af28ee37d931bd045711 (patch) | |
tree | 945f68cfacbb5872de575ab280e9a3fb9cbddc1f /arch/x86/kernel/cpu/mcheck/mce_intel.c | |
parent | 229aebb873e29726b91e076161649cf45154b0bf (diff) | |
download | talos-op-linux-9c37c9d89773ee9da9f6af28ee37d931bd045711.tar.gz talos-op-linux-9c37c9d89773ee9da9f6af28ee37d931bd045711.zip |
mce, amd: Implement mce_threshold_block_init() helper function
This patch adds a helper function for the initial setup of an
mce threshold block. The LVT offset is passed as argument. Also
making variable threshold_defaults local as it is only used in
function mce_amd_feature_init(). Function
threshold_restart_bank() is extended to setup the LVT offset,
the change is backward compatible. Thus, now there is only a
single wrmsrl() to setup the block.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Acked-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <1288015419-29543-2-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck/mce_intel.c')
0 files changed, 0 insertions, 0 deletions