Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199089
b: refs/heads/master
c: ef4f30f
h: refs/heads/master
i:
  199087: aae1603
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed May 18, 2010
1 parent df0339f commit 8dae11c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0db1a7bc00216a981d0b7056627ad8682f4f0636
refs/heads/master: ef4f30f54e265c2f6f9ac9eda4db158a4e16050b
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/cpu/perf_event_p4.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ static inline int p4_pmu_clear_cccr_ovf(struct hw_perf_event *hwc)
rdmsr(hwc->config_base + hwc->idx, low, high);

/* we need to check high bit for unflagged overflows */
if ((low & P4_CCCR_OVF) || (high & (1 << 31))) {
if ((low & P4_CCCR_OVF) || !(high & (1 << 31))) {
overflow = 1;
(void)checking_wrmsrl(hwc->config_base + hwc->idx,
((u64)low) & ~P4_CCCR_OVF);
Expand Down

0 comments on commit 8dae11c

Please sign in to comment.