diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/perf_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index c5fa717cf099..126a302c481c 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -6136,7 +6136,7 @@ static void perf_event_exit_task_context(struct task_struct *child, int ctxn) | |||
6136 | * scheduled, so we are now safe from rescheduling changing | 6136 | * scheduled, so we are now safe from rescheduling changing |
6137 | * our context. | 6137 | * our context. |
6138 | */ | 6138 | */ |
6139 | child_ctx = rcu_dereference(child->perf_event_ctxp[ctxn]); | 6139 | child_ctx = rcu_dereference_raw(child->perf_event_ctxp[ctxn]); |
6140 | task_ctx_sched_out(child_ctx, EVENT_ALL); | 6140 | task_ctx_sched_out(child_ctx, EVENT_ALL); |
6141 | 6141 | ||
6142 | /* | 6142 | /* |