aboutsummaryrefslogtreecommitdiff
path: root/arch/loongarch/include/asm/kprobes.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/kprobes.h')
-rw-r--r--arch/loongarch/include/asm/kprobes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/kprobes.h b/arch/loongarch/include/asm/kprobes.h
index 7b9fc3ed71c3..798020ae02c6 100644
--- a/arch/loongarch/include/asm/kprobes.h
+++ b/arch/loongarch/include/asm/kprobes.h
@@ -49,6 +49,9 @@ bool kprobe_fault_handler(struct pt_regs *regs, int trapnr);
bool kprobe_breakpoint_handler(struct pt_regs *regs);
bool kprobe_singlestep_handler(struct pt_regs *regs);
+void __kretprobe_trampoline(void);
+void *trampoline_probe_handler(struct pt_regs *regs);
+
#else /* !CONFIG_KPROBES */
static inline bool kprobe_breakpoint_handler(struct pt_regs *regs) { return false; }