summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/kernel/rethook.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/kernel/rethook.h')
-rw-r--r--arch/loongarch/kernel/rethook.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/loongarch/kernel/rethook.h b/arch/loongarch/kernel/rethook.h
new file mode 100644
index 0000000000..3f1c1edf0d
--- /dev/null
+++ b/arch/loongarch/kernel/rethook.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __LOONGARCH_RETHOOK_H
+#define __LOONGARCH_RETHOOK_H
+
+unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs);
+void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount);
+
+#endif