diff options
Diffstat (limited to 'arch/x86/oprofile/op_model_amd.c')
-rw-r--r-- | arch/x86/oprofile/op_model_amd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/oprofile/op_model_amd.c b/arch/x86/oprofile/op_model_amd.c index 96852d5480e0..d5e9dab71bec 100644 --- a/arch/x86/oprofile/op_model_amd.c +++ b/arch/x86/oprofile/op_model_amd.c | |||
@@ -257,8 +257,7 @@ static inline void op_amd_start_ibs(void) | |||
257 | ibs_op_ctl = min(ibs_op_ctl + IBS_RANDOM_MAXCNT_OFFSET, | 257 | ibs_op_ctl = min(ibs_op_ctl + IBS_RANDOM_MAXCNT_OFFSET, |
258 | IBS_OP_MAX_CNT); | 258 | IBS_OP_MAX_CNT); |
259 | } | 259 | } |
260 | if (ibs_caps & IBS_CAPS_OPCNT && ibs_config.dispatched_ops) | 260 | ibs_op_ctl |= ibs_config.dispatched_ops ? IBS_OP_CNT_CTL : 0; |
261 | ibs_op_ctl |= IBS_OP_CNT_CTL; | ||
262 | ibs_op_ctl |= IBS_OP_ENABLE; | 261 | ibs_op_ctl |= IBS_OP_ENABLE; |
263 | val = op_amd_randomize_ibs_op(ibs_op_ctl); | 262 | val = op_amd_randomize_ibs_op(ibs_op_ctl); |
264 | wrmsrl(MSR_AMD64_IBSOPCTL, val); | 263 | wrmsrl(MSR_AMD64_IBSOPCTL, val); |