diff options
author | Xianting Tian <tian.xianting@h3c.com> | 2020-08-13 19:28:03 +0800 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-09-21 21:06:02 -0400 |
commit | b427e765bdffcc18911ace199a17b09332a47d55 (patch) | |
tree | bb083c4d181aade37aabdb508d434915ed1ed91e /lib/mpi/mpi-inv.c | |
parent | 5c8c206e4308ee33dea7c60b0cfcbed48a6438b4 (diff) |
tracing: Use __this_cpu_read() in trace_buffered_event_enable()
The code is executed with preemption disabled, so it's
safe to use __this_cpu_read().
Link: https://lkml.kernel.org/r/20200813112803.12256-1-tian.xianting@h3c.com
Signed-off-by: Xianting Tian <tian.xianting@h3c.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'lib/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions