diff options
author | Li Chen <chenl311@chinatelecom.cn> | 2024-08-19 09:01:53 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-10-08 22:24:22 +0300 |
commit | e32540b1e4b37fd720b59f8a504d7592fc3483bf (patch) | |
tree | 2d05424f767c53e12ce36a076267a9f331fee2fa /rust/helpers/helpers.c | |
parent | 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b (diff) | |
download | linux-e32540b1e4b37fd720b59f8a504d7592fc3483bf.tar.xz |
ftrace: Use this_cpu_ptr() instead of per_cpu_ptr(smp_processor_id())
Use this_cpu_ptr() instead of open coding the equivalent in various
ftrace functions.
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lore.kernel.org/87y14t6ofi.wl-me@linux.beauty
Signed-off-by: Li Chen <chenl311@chinatelecom.cn>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions