From: Atsushi Nemoto Date: Fri, 24 Oct 2008 16:17:23 +0000 (+0900) Subject: MIPS: Set ENOSYS to errno on illegal system call number for syscall(2) X-Git-Tag: v2.6.28-rc3~95^2~27 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fb498e2570eedc6c9c3d165e370624dfc3aed97b;p=linux-2.6-omap-h63xx.git MIPS: Set ENOSYS to errno on illegal system call number for syscall(2) Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S index ffa23bd0717..759f68066b5 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)