diff options
Diffstat (limited to 'arch/x86/oprofile')
-rw-r--r-- | arch/x86/oprofile/op_model_athlon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/oprofile/op_model_athlon.c b/arch/x86/oprofile/op_model_athlon.c index a3a2058c372c..9c8c8c583132 100644 --- a/arch/x86/oprofile/op_model_athlon.c +++ b/arch/x86/oprofile/op_model_athlon.c | |||
@@ -251,6 +251,7 @@ op_amd_handle_ibs(struct pt_regs * const regs, | |||
251 | (unsigned int *)&ibs_op, | 251 | (unsigned int *)&ibs_op, |
252 | IBS_OP_BEGIN); | 252 | IBS_OP_BEGIN); |
253 | rdmsr(MSR_AMD64_IBSOPCTL, low, high); | 253 | rdmsr(MSR_AMD64_IBSOPCTL, low, high); |
254 | high = 0; | ||
254 | low &= ~IBS_OP_LOW_VALID_BIT; | 255 | low &= ~IBS_OP_LOW_VALID_BIT; |
255 | low |= IBS_OP_LOW_ENABLE; | 256 | low |= IBS_OP_LOW_ENABLE; |
256 | wrmsr(MSR_AMD64_IBSOPCTL, low, high); | 257 | wrmsr(MSR_AMD64_IBSOPCTL, low, high); |