aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-10-25 01:17:23 +0900
committerRalf Baechle <ralf@linux-mips.org>2008-10-27 16:18:26 +0000
commitfb498e2570eedc6c9c3d165e370624dfc3aed97b (patch)
tree8792999820c2afb432f8ba79833b03be8bdba342 /arch
parentMIPS: Set positive error number to errno on illegal_syscall (diff)
downloadlinux-dev-fb498e2570eedc6c9c3d165e370624dfc3aed97b.tar.xz
linux-dev-fb498e2570eedc6c9c3d165e370624dfc3aed97b.zip
MIPS: Set ENOSYS to errno on illegal system call number for syscall(2)
Signed-off-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/scall32-o32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
index ffa23bd07173..759f68066b5d 100644
--- a/arch/mips/kernel/scall32-o32.S
+++ b/arch/mips/kernel/scall32-o32.S
@@ -293,7 +293,7 @@ bad_alignment:
jr t2
/* Unreached */
-einval: li v0, -EINVAL
+einval: li v0, -ENOSYS
jr ra
END(sys_syscall)