commit | fb498e2570eedc6c9c3d165e370624dfc3aed97b | [log] [tgz] |
---|---|---|
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | Sat Oct 25 01:17:23 2008 +0900 |
committer | Ralf Baechle <ralf@linux-mips.org> | Mon Oct 27 16:18:26 2008 +0000 |
tree | 8792999820c2afb432f8ba79833b03be8bdba342 | |
parent | bda8229bdd087167f463ad5e74299987924f8137 [diff] |
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>
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S index ffa23bd..759f680 100644 --- a/arch/mips/kernel/scall32-o32.S +++ b/arch/mips/kernel/scall32-o32.S
@@ -293,7 +293,7 @@ jr t2 /* Unreached */ -einval: li v0, -EINVAL +einval: li v0, -ENOSYS jr ra END(sys_syscall)