aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2008-10-31 14:23:09 -0400
committerRalf Baechle <ralf@linux-mips.org>2008-12-04 12:47:28 -0500
commitc6cb4df96fa22d1174d6fb6dfc2c7501d7afaeea (patch)
tree6d2cdd328dceb8f2fb0a8e0eec159e22e04b978b /arch
parent8d13cb26cd3bf23946743a5b4af2fecd88fc4974 (diff)
MIPS: Return ENOSYS from sys32_syscall on 64bit kernels like elsewhere.
When the o32 errno was changed to ENOSYS, we forgot to update the code for 64bit kernels. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/scall64-o32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
index 3d55e3bbdfc3..fefef4af8595 100644
--- a/arch/mips/kernel/scall64-o32.S
+++ b/arch/mips/kernel/scall64-o32.S
@@ -196,7 +196,7 @@ LEAF(sys32_syscall)
196 jr t2 196 jr t2
197 /* Unreached */ 197 /* Unreached */
198 198
199einval: li v0, -EINVAL 199einval: li v0, -ENOSYS
200 jr ra 200 jr ra
201 END(sys32_syscall) 201 END(sys32_syscall)
202 202