aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/kprobes.h
diff options
context:
space:
mode:
authorGravatar Masami Hiramatsu <mhiramat@kernel.org> 2021-09-14 23:40:54 +0900
committerGravatar Steven Rostedt (VMware) <rostedt@goodmis.org> 2021-09-30 21:24:06 -0400
commitadf8a61a940c49fea6fab9c3865f2b69b8ceef28 (patch)
treef5df5c319dfd048b96729731e03d79dc4340c4b4 /arch/arm64/include/asm/kprobes.h
parentkprobes: treewide: Remove trampoline_address from kretprobe_trampoline_handler() (diff)
downloadlinux-adf8a61a940c49fea6fab9c3865f2b69b8ceef28.tar.gz
linux-adf8a61a940c49fea6fab9c3865f2b69b8ceef28.tar.bz2
linux-adf8a61a940c49fea6fab9c3865f2b69b8ceef28.zip
kprobes: treewide: Make it harder to refer kretprobe_trampoline directly
Since now there is kretprobe_trampoline_addr() for referring the address of kretprobe trampoline code, we don't need to access kretprobe_trampoline directly. Make it harder to refer by renaming it to __kretprobe_trampoline(). Link: https://lkml.kernel.org/r/163163045446.489837.14510577516938803097.stgit@devnote2 Suggested-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/arm64/include/asm/kprobes.h')
-rw-r--r--arch/arm64/include/asm/kprobes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/kprobes.h b/arch/arm64/include/asm/kprobes.h
index 5d38ff4a4806..05cd82eeca13 100644
--- a/arch/arm64/include/asm/kprobes.h
+++ b/arch/arm64/include/asm/kprobes.h
@@ -39,7 +39,7 @@ void arch_remove_kprobe(struct kprobe *);
int kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr);
int kprobe_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data);
-void kretprobe_trampoline(void);
+void __kretprobe_trampoline(void);
void __kprobes *trampoline_probe_handler(struct pt_regs *regs);
#endif /* CONFIG_KPROBES */