Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322282
b: refs/heads/master
c: 8133121
h: refs/heads/master
v: v3
  • Loading branch information
Sukadev Bhattiprolu authored and Benjamin Herrenschmidt committed Aug 24, 2012
1 parent 55085c1 commit 14e5855
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: 2fae7cdb60240e2e2d9b378afbf6d9fcce8a3890
refs/heads/master: 813312110bede27bffd082c25cd31730bd567beb
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/perf/core-book3s.c
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ static void perf_event_interrupt(struct pt_regs *regs)
if (!event->hw.idx || is_limited_pmc(event->hw.idx))
continue;
val = read_pmc(event->hw.idx);
if ((int)val < 0) {
if (pmc_overflow(val)) {
/* event has overflowed */
found = 1;
record_and_restart(event, val, regs);
Expand Down

0 comments on commit 14e5855

Please sign in to comment.