diff options
| -rw-r--r-- | arch/x86/events/intel/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c index 56457cb73448..9b18a227fff7 100644 --- a/arch/x86/events/intel/core.c +++ b/arch/x86/events/intel/core.c | |||
| @@ -3194,7 +3194,7 @@ static unsigned bdw_limit_period(struct perf_event *event, unsigned left) | |||
| 3194 | X86_CONFIG(.event=0xc0, .umask=0x01)) { | 3194 | X86_CONFIG(.event=0xc0, .umask=0x01)) { |
| 3195 | if (left < 128) | 3195 | if (left < 128) |
| 3196 | left = 128; | 3196 | left = 128; |
| 3197 | left &= ~0x3fu; | 3197 | left &= ~0x3fULL; |
| 3198 | } | 3198 | } |
| 3199 | return left; | 3199 | return left; |
| 3200 | } | 3200 | } |
