MIPS: Set ENOSYS to errno on illegal system call number for syscall(2)
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Fri, 24 Oct 2008 16:17:23 +0000 (01:17 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 27 Oct 2008 16:18:26 +0000 (16:18 +0000)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/scall32-o32.S

index ffa23bd..759f680 100644 (file)
@@ -293,7 +293,7 @@ bad_alignment:
        jr      t2
        /* Unreached */
 
-einval:        li      v0, -EINVAL
+einval:        li      v0, -ENOSYS
        jr      ra
        END(sys_syscall)