Loading
riscv: kprobes: Remove duplication of RVC_EXTRACT_C2_RS1_REG
Use RVC_EXTRACT_C2_RS1_REG, instead of reimplementing it in simulate_c_jr_jalr(). Signed-off-by:Nam Cao <namcao@linutronix.de> Reviewed-by:
Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/linux-riscv/d56955cd683411c6d2f63d13c78e0572462a3269.1747215274.git.namcao@linutronix.de/ Signed-off-by:
Paul Walmsley <pjw@kernel.org>