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

Use RV_EXTRACT_BTYPE_IMM, instead of reimplementing it in
simulate_branch().

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