summaryrefslogtreecommitdiffstats
path: root/arch/mips
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/mips
parentbda8229bdd087167f463ad5e74299987924f8137 (diff)
downloadlinux-fb498e2570eedc6c9c3d165e370624dfc3aed97b.tar.bz2
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/mips')
-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)