svn commit: r210699 - head/sys/mips/mips
Jayachandran C.
jchandra at FreeBSD.org
Sat Jul 31 19:13:09 UTC 2010
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
More information about the svn-src-head
mailing list