diff options
author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2025-06-20 20:21:59 +0000 |
---|---|---|
committer | Paul Walmsley <pjw@kernel.org> | 2025-09-16 16:29:07 -0600 |
commit | a601732236834a84e110508e884dc8d368d99d07 (patch) | |
tree | a516826efa0b4f46c77c0fd16b7d8493c3c24a05 /lib/raid6/recov_rvv.c | |
parent | 833bbb0d91d21694ec0d8909b6c71f5df448c575 (diff) |
riscv: Move all duplicate insn parsing macros into asm/insn.h
kernel/traps_misaligned.c and kvm/vcpu_insn.c define the same macros to
extract information from the instructions.
Let's move the definitions into asm/insn.h to avoid this duplication.
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Clément Léger <cleger@rivosinc.com>
Link: https://lore.kernel.org/r/20250620-dev-alex-insn_duplicate_v5_manual-v5-3-d865dc9ad180@rivosinc.com
[pjw@kernel.org: updated to apply]
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'lib/raid6/recov_rvv.c')
0 files changed, 0 insertions, 0 deletions