]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: kprobes: Remove duplication of RV_EXTRACT_JTYPE_IMM
authorNam Cao <namcao@linutronix.de>
Sun, 11 May 2025 21:17:55 +0000 (23:17 +0200)
committerPaul Walmsley <pjw@kernel.org>
Wed, 17 Sep 2025 00:46:43 +0000 (18:46 -0600)
commit8f1ea7f04edd918b0e0fd8dc1318b22049a6c716
treeff3488c4c970433f0bfa0734dc058c514a83dfa1
parent518c550eebbc5502177c3b8c4a28286120c518db
riscv: kprobes: Remove duplication of RV_EXTRACT_JTYPE_IMM

Use RV_EXTRACT_JTYPE_IMM, instead of reimplementing it in simulate_jal().

Signed-off-by: Nam Cao <namcao@linutronix.de>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/linux-riscv/af502036738d381c6bdb96a236d21bab8c343f74.1747215274.git.namcao@linutronix.de/
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/probes/simulate-insn.c