Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147574
b: refs/heads/master
c: 012b84d
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed May 29, 2009
1 parent c41045e commit 5814e6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f4dee227348daac32f36daad9a91059efd0723e
refs/heads/master: 012b84dae17126d8b5d159173091eb3db5a2bc43
4 changes: 4 additions & 0 deletions trunk/kernel/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,10 @@ static void __perf_counter_task_sched_out(struct perf_counter_context *ctx)

if (!cpuctx->task_ctx)
return;

if (WARN_ON_ONCE(ctx != cpuctx->task_ctx))
return;

__perf_counter_sched_out(ctx, cpuctx);
cpuctx->task_ctx = NULL;
}
Expand Down

0 comments on commit 5814e6b

Please sign in to comment.