/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_LIVEPATCH_H #define _ASM_LIVEPATCH_H #include static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip) { regs->csr_era = ip; } #endif /* _ASM_LIVEPATCH_H */