diff options
-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 accfd7bfe387..35df94e344f2 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -3914,7 +3914,7 @@ void perf_swevent_put_recursion_context(int rctx) | |||
3914 | { | 3914 | { |
3915 | struct perf_cpu_context *cpuctx = &__get_cpu_var(perf_cpu_context); | 3915 | struct perf_cpu_context *cpuctx = &__get_cpu_var(perf_cpu_context); |
3916 | barrier(); | 3916 | barrier(); |
3917 | cpuctx->recursion[rctx]++; | 3917 | cpuctx->recursion[rctx]--; |
3918 | put_cpu_var(perf_cpu_context); | 3918 | put_cpu_var(perf_cpu_context); |
3919 | } | 3919 | } |
3920 | EXPORT_SYMBOL_GPL(perf_swevent_put_recursion_context); | 3920 | EXPORT_SYMBOL_GPL(perf_swevent_put_recursion_context); |