aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorRobert Richter <[email protected]>2010-10-25 14:03:35 +0000
committerIngo Molnar <[email protected]>2010-10-25 16:59:42 +0000
commit9c37c9d89773ee9da9f6af28ee37d931bd045711 (patch)
tree945f68cfacbb5872de575ab280e9a3fb9cbddc1f /lib/dynamic_debug.c
parentMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jiko... (diff)
downloadkernel-9c37c9d89773ee9da9f6af28ee37d931bd045711.tar.gz
kernel-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 <[email protected]> Acked-by: Borislav Petkov <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions