1*b57c2f12SBinglei Wang /* SPDX-License-Identifier: GPL-2.0-only */ 2*b57c2f12SBinglei Wang #ifndef __RISCV_RETHOOK_H 3*b57c2f12SBinglei Wang #define __RISCV_RETHOOK_H 4*b57c2f12SBinglei Wang 5*b57c2f12SBinglei Wang unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs); 6*b57c2f12SBinglei Wang void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount); 7*b57c2f12SBinglei Wang 8*b57c2f12SBinglei Wang #endif 9