diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-10-24 18:17:23 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-10-27 17:18:26 +0100 |
commit | fb498e2570eedc6c9c3d165e370624dfc3aed97b (patch) | |
tree | 8792999820c2afb432f8ba79833b03be8bdba342 | |
parent | MIPS: Set positive error number to errno on illegal_syscall (diff) | |
download | linux-fb498e2570eedc6c9c3d165e370624dfc3aed97b.tar.xz linux-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>
-rw-r--r-- | arch/mips/kernel/scall32-o32.S | 2 |
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) |