diff options
Diffstat (limited to 'src/arch/riscv/trap_util.S')
-rw-r--r-- | src/arch/riscv/trap_util.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/riscv/trap_util.S b/src/arch/riscv/trap_util.S index ae32379562..44cfab7c99 100644 --- a/src/arch/riscv/trap_util.S +++ b/src/arch/riscv/trap_util.S @@ -141,10 +141,10 @@ supervisor_call_return: csrr a0, mscratch restore_regs # go back into supervisor call - .word 0x30200073 # mret + mret .global machine_call_return machine_call_return: csrr a0, mscratch restore_regs # go back into machine call - .word 0x30200073 # mret + mret |