CVSROOT: /home/cvs
Module name: linux
Changes by: ths@ftp.linux-mips.org 05/01/06 18:44:44
Modified files:
arch/mips/kernel: scall32-o32.S scall64-64.S scall64-o32.S
Log message:
Fix signedness error for ENOSYS.
diff -urN linux/arch/mips/kernel/scall32-o32.S
linux/arch/mips/kernel/scall32-o32.S
--- linux/arch/mips/kernel/scall32-o32.S 2004/12/10 06:23:41 1.19
+++ linux/arch/mips/kernel/scall32-o32.S 2005/01/06 18:44:44 1.20
@@ -181,7 +181,7 @@
* The system call does not exist in this kernel
*/
illegal_syscall:
- li v0, ENOSYS # error
+ li v0, -ENOSYS # error
sw v0, PT_R2(sp)
li t0, 1 # set error flag
sw t0, PT_R7(sp)
diff -urN linux/arch/mips/kernel/scall64-64.S
linux/arch/mips/kernel/scall64-64.S
--- linux/arch/mips/kernel/scall64-64.S 2004/11/25 13:40:10 1.26
+++ linux/arch/mips/kernel/scall64-64.S 2005/01/06 18:44:44 1.27
@@ -112,7 +112,7 @@
illegal_syscall:
/* This also isn't a 64-bit syscall, throw an error. */
- li v0, ENOSYS # error
+ li v0, -ENOSYS # error
sd v0, PT_R2(sp)
li t0, 1 # set error flag
sd t0, PT_R7(sp)
diff -urN linux/arch/mips/kernel/scall64-o32.S
linux/arch/mips/kernel/scall64-o32.S
--- linux/arch/mips/kernel/scall64-o32.S 2004/12/08 14:32:30 1.26
+++ linux/arch/mips/kernel/scall64-o32.S 2005/01/06 18:44:44 1.27
@@ -171,7 +171,7 @@
illegal_syscall:
/* This also isn't a 64-bit syscall, throw an error. */
- li v0, ENOSYS # error
+ li v0, -ENOSYS # error
sd v0, PT_R2(sp)
li t0, 1 # set error flag
sd t0, PT_R7(sp)
|