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 <ddaney@caviumnetworks.com> Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
8d13cb26cd
commit
c6cb4df96f
|
@ -196,7 +196,7 @@ LEAF(sys32_syscall)
|
||||||
jr t2
|
jr t2
|
||||||
/* Unreached */
|
/* Unreached */
|
||||||
|
|
||||||
einval: li v0, -EINVAL
|
einval: li v0, -ENOSYS
|
||||||
jr ra
|
jr ra
|
||||||
END(sys32_syscall)
|
END(sys32_syscall)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue