aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/vector.c
diff options
context:
space:
mode:
authorAlexandre Ghiti <alexghiti@rivosinc.com>2025-06-20 20:21:57 +0000
committerPaul Walmsley <pjw@kernel.org>2025-09-16 16:28:02 -0600
commit932131fd3ed21538a9b16f14e46b2794f244a196 (patch)
tree3832dea93d4d03ff4342d4415ff4d6a19a3c321e /arch/riscv/kernel/vector.c
parentriscv: Add kprobes KUnit test (diff)
downloadlinux-932131fd3ed21538a9b16f14e46b2794f244a196.tar.gz
linux-932131fd3ed21538a9b16f14e46b2794f244a196.zip
riscv: Fix typo EXRACT -> EXTRACT
Simply fix a typo. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> 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-1-d865dc9ad180@rivosinc.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'arch/riscv/kernel/vector.c')
-rw-r--r--arch/riscv/kernel/vector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kernel/vector.c b/arch/riscv/kernel/vector.c
index 184f780c932d..901e67adf576 100644
--- a/arch/riscv/kernel/vector.c
+++ b/arch/riscv/kernel/vector.c
@@ -93,7 +93,7 @@ bool insn_is_vector(u32 insn_buf)
return true;
case RVV_OPCODE_VL:
case RVV_OPCODE_VS:
- width = RVV_EXRACT_VL_VS_WIDTH(insn_buf);
+ width = RVV_EXTRACT_VL_VS_WIDTH(insn_buf);
if (width == RVV_VL_VS_WIDTH_8 || width == RVV_VL_VS_WIDTH_16 ||
width == RVV_VL_VS_WIDTH_32 || width == RVV_VL_VS_WIDTH_64)
return true;