diff options
author | 2021-09-14 23:39:16 +0900 | |
---|---|---|
committer | 2021-09-30 21:24:05 -0400 | |
commit | 4402deae8993fb0e25a19bb999b38df13e25a7e0 (patch) | |
tree | 24ba087768c83e39d21f73107d5b0b10882063db /include/linux/objtool.h | |
parent | csky: ftrace: Drop duplicate implementation of arch_check_ftrace_location() (diff) | |
download | linux-rng-4402deae8993fb0e25a19bb999b38df13e25a7e0.tar.xz linux-rng-4402deae8993fb0e25a19bb999b38df13e25a7e0.zip |
kprobes: Make arch_check_ftrace_location static
arch_check_ftrace_location() was introduced as a weak function in
commit f7f242ff004499 ("kprobes: introduce weak
arch_check_ftrace_location() helper function") to allow architectures
to handle kprobes call site on their own.
Recently, the only architecture (csky) to implement
arch_check_ftrace_location() was migrated to using the common
version.
As a result, further cleanup the code to drop the weak attribute and
rename the function to remove the architecture specific
implementation.
Link: https://lkml.kernel.org/r/163163035673.489837.2367816318195254104.stgit@devnote2
Signed-off-by: Punit Agrawal <punitagrawal@gmail.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/objtool.h')
0 files changed, 0 insertions, 0 deletions