From 3c58d95d918c7e2fda374c37a52f81b34b81e4ca Mon Sep 17 00:00:00 2001 From: Kevin Cernekee Date: Tue, 5 Jun 2012 15:05:19 -0700 Subject: MIPS: Convert __syscall_error() callers to use $a0 for argument Some callers passed the first argument in $v0, while others used $a0. Change the callers to use $a0 consistently. Signed-off-by: Kevin Cernekee Signed-off-by: Bernhard Reutner-Fischer --- .../linuxthreads/sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/mips64') diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h index fc5177425..4d2c4052d 100644 --- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h +++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h @@ -31,7 +31,7 @@ # undef PSEUDO # define PSEUDO(name, syscall_name, args) \ .align 2; \ - 99: \ + 99: move a0, v0; \ PTR_LA t9,__syscall_error; \ /* manual cpreturn. */ \ REG_L gp, STKOFF_GP(sp); \ -- cgit v1.2.3