riscv: Fix interrupt save/restore

Update #3433.
This commit is contained in:
Sebastian Huber
2018-06-29 10:04:37 +02:00
parent 40f81ce634
commit dffc08c0e9
@@ -80,7 +80,7 @@ SYM(ISR_Handler):
SREG x26, (26 * CPU_SIZEOF_POINTER)(sp)
SREG x27, (27 * CPU_SIZEOF_POINTER)(sp)
SREG x28, (28 * CPU_SIZEOF_POINTER)(sp)
SREG x29, (28 * CPU_SIZEOF_POINTER)(sp)
SREG x29, (29 * CPU_SIZEOF_POINTER)(sp)
SREG x30, (30 * CPU_SIZEOF_POINTER)(sp)
SREG x31, (31 * CPU_SIZEOF_POINTER)(sp)