diff options
author | Ingo Molnar | 2011-12-20 20:32:03 +0100 |
---|---|---|
committer | Ingo Molnar | 2011-12-20 20:32:11 +0100 |
commit | d87f69a16eb2cb96459117b06949a560679002e4 (patch) | |
tree | bbb55b2bd2b6c9e8bd4067aa3279783cb6bd9028 /kernel/events | |
parent | Merge branch 'for-tip' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/... (diff) | |
parent | Linux 3.2-rc6 (diff) | |
download | kernel-qcow2-linux-d87f69a16eb2cb96459117b06949a560679002e4.tar.gz kernel-qcow2-linux-d87f69a16eb2cb96459117b06949a560679002e4.tar.xz kernel-qcow2-linux-d87f69a16eb2cb96459117b06949a560679002e4.zip |
Merge commit 'v3.2-rc6' into perf/core
Merge reason: Update with the latest fixes.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/events')
-rw-r--r-- | kernel/events/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c index 3a3b1a18f490..2f8f3f103cb4 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -2179,11 +2179,11 @@ static void perf_event_context_sched_in(struct perf_event_context *ctx, */ cpu_ctx_sched_out(cpuctx, EVENT_FLEXIBLE); - perf_event_sched_in(cpuctx, ctx, task); - if (ctx->nr_events) cpuctx->task_ctx = ctx; + perf_event_sched_in(cpuctx, cpuctx->task_ctx, task); + perf_pmu_enable(ctx->pmu); perf_ctx_unlock(cpuctx, ctx); |