Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211949
b: refs/heads/master
c: 57fa721
h: refs/heads/master
i:
  211947: b1a4598
v: v3
  • Loading branch information
Paul Mackerras authored and Ingo Molnar committed Oct 19, 2010
1 parent 7004976 commit 1889163
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: 1fa41266e9d20f6d66f9d7d067d9825e2c1002b9
refs/heads/master: 57fa7214330be2e292ddb1402834ff0b221ef29a
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ static int power_pmu_event_init(struct perf_event *event)
* XXX we should check if the task is an idle task.
*/
flags = 0;
if (event->ctx->task)
if (event->attach_state & PERF_ATTACH_TASK)
flags |= PPMU_ONLY_COUNT_RUN;

/*
Expand Down

0 comments on commit 1889163

Please sign in to comment.