diff options
Diffstat (limited to 'kernel/events/callchain.c')
-rw-r--r-- | kernel/events/callchain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/events/callchain.c b/kernel/events/callchain.c index f2a88de87a49..d659487254d5 100644 --- a/kernel/events/callchain.c +++ b/kernel/events/callchain.c | |||
@@ -137,7 +137,7 @@ static struct perf_callchain_entry *get_callchain_entry(int *rctx) | |||
137 | int cpu; | 137 | int cpu; |
138 | struct callchain_cpus_entries *entries; | 138 | struct callchain_cpus_entries *entries; |
139 | 139 | ||
140 | *rctx = get_recursion_context(__get_cpu_var(callchain_recursion)); | 140 | *rctx = get_recursion_context(this_cpu_ptr(callchain_recursion)); |
141 | if (*rctx == -1) | 141 | if (*rctx == -1) |
142 | return NULL; | 142 | return NULL; |
143 | 143 | ||
@@ -153,7 +153,7 @@ static struct perf_callchain_entry *get_callchain_entry(int *rctx) | |||
153 | static void | 153 | static void |
154 | put_callchain_entry(int rctx) | 154 | put_callchain_entry(int rctx) |
155 | { | 155 | { |
156 | put_recursion_context(__get_cpu_var(callchain_recursion), rctx); | 156 | put_recursion_context(this_cpu_ptr(callchain_recursion), rctx); |
157 | } | 157 | } |
158 | 158 | ||
159 | struct perf_callchain_entry * | 159 | struct perf_callchain_entry * |