Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211269
b: refs/heads/master
c: 03e2219
h: refs/heads/master
i:
  211267: 3219229
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed Sep 30, 2010
1 parent 55a45ff commit 5514038
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 98d943b02f6f1b57787ff1aa6f34d019a407e3ee
refs/heads/master: 03e22198d2379ffa746c9ea332fbb1f094f9423b
6 changes: 5 additions & 1 deletion trunk/arch/x86/kernel/cpu/perf_event_p4.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,8 +660,12 @@ static int p4_pmu_handle_irq(struct pt_regs *regs)
for (idx = 0; idx < x86_pmu.num_counters; idx++) {
int overflow;

if (!test_bit(idx, cpuc->active_mask))
if (!test_bit(idx, cpuc->active_mask)) {
/* catch in-flight IRQs */
if (__test_and_clear_bit(idx, cpuc->running))
handled++;
continue;
}

event = cpuc->events[idx];
hwc = &event->hw;
Expand Down

0 comments on commit 5514038

Please sign in to comment.