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

Use RV_EXTRACT_RS1_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/b441038c991da11a7a48ea7140ab00e3bb119387.1747215274.git.namcao@linutronix.de/
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/probes/simulate-insn.c