]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 3d55e3bbdfc32eac371a0ec2ee5635e715a90733..fefef4af8595493ec3c5414f3fb0fcaff14869b1 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)