MIPS: Return ENOSYS from sys32_syscall on 64bit kernels like elsewhere.
authorDavid Daney <ddaney@caviumnetworks.com>
Fri, 31 Oct 2008 18:23:09 +0000 (11:23 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 4 Dec 2008 17:47:28 +0000 (17:47 +0000)
When the o32 errno was changed to ENOSYS, we forgot to update the code
for 64bit kernels.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

arch/mips/kernel/scall64-o32.S

index 3d55e3b..fefef4a 100644 (file)
@@ -196,7 +196,7 @@ LEAF(sys32_syscall)
        jr      t2
        /* Unreached */
 
-einval:        li      v0, -EINVAL
+einval:        li      v0, -ENOSYS
        jr      ra
        END(sys32_syscall)