tracing: Replace the per_cpu() with __this_cpu*() in trace_stack.c
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 6 Apr 2017 16:11:36 +0000 (12:11 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 10 Apr 2017 18:33:54 +0000 (14:33 -0400)
commit252babcd52aabe37aaad03685e7d6ad454edb9f9
tree8698b44de4171656c783879ddf5b4d3be22c3065
parent0598e4f08e3da1fea2ee3b4765a44798147a8c62
tracing: Replace the per_cpu() with __this_cpu*() in trace_stack.c

The updates to the trace_active per cpu variable can be updated with the
__this_cpu_*() functions as it only gets updated on the CPU that the variable
is on.

Thanks to Paul McKenney for suggesting __this_cpu_* instead of this_cpu_*.

Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_stack.c