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

Use RV_EXTRACT_RD_REG, instead of reimplementing its code.

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