Skip to content

Commit 1360d8e

Browse files
committed
[libcpu/common] 修正对RV32E的支持,移除无用文件
1 parent e3d7bbb commit 1360d8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcpu/risc-v/common/interrupt_gcc.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ trap_entry:
337337

338338
/* need to switch new thread */
339339
la s0, rt_thread_switch_interrupt_flag
340-
lw s2, 0(s0)
341-
beqz s2, spurious_interrupt
340+
lw s1, 0(s0)
341+
beqz s1, spurious_interrupt
342342
sw zero, 0(s0)
343343

344344
la s0, rt_interrupt_from_thread

0 commit comments

Comments
 (0)