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

Use RV_EXTRACT_UTYPE_IMM, instead of reimplementing it in simulate_auipc().

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