From: David Daney Date: Fri, 31 Oct 2008 18:23:09 +0000 (-0700) Subject: MIPS: Return ENOSYS from sys32_syscall on 64bit kernels like elsewhere. X-Git-Tag: MMI-PSA29.97-13-9~30605^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c6cb4df96fa22d1174d6fb6dfc2c7501d7afaeea;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git MIPS: Return ENOSYS from sys32_syscall on 64bit kernels like elsewhere. When the o32 errno was changed to ENOSYS, we forgot to update the code for 64bit kernels. Signed-off-by: David Daney Acked-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S index 3d55e3bbdfc3..fefef4af8595 100644 --- a/arch/mips/kernel/scall64-o32.S +++ b/arch/mips/kernel/scall64-o32.S @@ -196,7 +196,7 @@ LEAF(sys32_syscall) jr t2 /* Unreached */ -einval: li v0, -EINVAL +einval: li v0, -ENOSYS jr ra END(sys32_syscall)