]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 ffa23bd07173a51529941c7d077ac552d23298f9..759f68066b5d529991dea584758d46c26ef1887b 100644 (file)
@@ -293,7 +293,7 @@ bad_alignment:
        jr      t2
        /* Unreached */
 
-einval:        li      v0, -EINVAL
+einval:        li      v0, -ENOSYS
        jr      ra
        END(sys_syscall)