diff --git a/arch/riscv/kernel/sse_entry.S b/arch/riscv/kernel/sse_entry.S index 3837a22b6e4f..df17f300ec4a 100644 --- a/arch/riscv/kernel/sse_entry.S +++ b/arch/riscv/kernel/sse_entry.S @@ -100,8 +100,8 @@ SYM_CODE_START(handle_sse) mv t3, zero #ifdef CONFIG_SMP - REG_L t4, SSE_REG_HART_ID(a7) - REG_L t3, SSE_REG_CPU_ID(a7) + lw t4, SSE_REG_HART_ID(a7) + lw t3, SSE_REG_CPU_ID(a7) bne t4, a6, .Lfind_hart_id_slowpath