diff --git a/sys/mips/mips/swtch.S b/sys/mips/mips/swtch.S index 9e1f39d8d89e..80c0cabc9476 100644 --- a/sys/mips/mips/swtch.S +++ b/sys/mips/mips/swtch.S @@ -580,8 +580,8 @@ END(prepare_usermode) */ .globl _C_LABEL(sigcode) _C_LABEL(sigcode): - addu a0, sp, SIGF_UC # address of ucontext - li v0, SYS_sigreturn + PTR_ADDU a0, sp, SIGF_UC # address of ucontext + li v0, SYS_sigreturn # sigreturn (ucp) syscall break 0 # just in case sigreturn fails