Commit fb498e25 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle

MIPS: Set ENOSYS to errno on illegal system call number for syscall(2)

Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent bda8229b
...@@ -293,7 +293,7 @@ bad_alignment: ...@@ -293,7 +293,7 @@ bad_alignment:
jr t2 jr t2
/* Unreached */ /* Unreached */
einval: li v0, -EINVAL einval: li v0, -ENOSYS
jr ra jr ra
END(sys_syscall) END(sys_syscall)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment