Author: jchandra Date: Sat Jul 31 19:13:08 2010 New Revision: 210699 URL: http://svn.freebsd.org/changeset/base/210699
Log: Use PTR_ADDU to change sp, so that it works for n64 too. Modified: head/sys/mips/mips/swtch.S Modified: head/sys/mips/mips/swtch.S ============================================================================== --- head/sys/mips/mips/swtch.S Sat Jul 31 19:11:38 2010 (r210698) +++ head/sys/mips/mips/swtch.S Sat Jul 31 19:13:08 2010 (r210699) @@ -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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"