Home
last modified time | relevance | path

Searched refs:jal_insn (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/riscv/kernel/
H A Dalternative.c89 static void riscv_alternative_fix_jal(void *ptr, u32 jal_insn, int patch_offset) in riscv_alternative_fix_jal() argument
94 imm = riscv_insn_extract_jtype_imm(jal_insn); in riscv_alternative_fix_jal()
98 riscv_insn_insert_jtype_imm(&jal_insn, imm); in riscv_alternative_fix_jal()
101 patch_text_nosync(ptr, &jal_insn, sizeof(u32)); in riscv_alternative_fix_jal()