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

Use RV_EXTRACT_ITYPE_IMM, instead of re-implementing it in simulate_jalr().

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