MIPS: Return ENOSYS from sys32_syscall on 64bit kernels just like everywhere else.
PATCH 1/1 MIPS: Return ENOSYS from sys32_syscall on 64bit kernels just like everywhere else.
When the o32 errno was changed to ENOSYS, we forgot to update the code for 64bit kernels.
Signed-off-by David Daney <[email protected]>
---arch/mips/kernel/scall64-o32.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/kernel/scall64-o32.S +0 -0
@@ -196,7 +196,7 @@ LEAF(sys32_syscall)
jr t2 /* Unreached */
-einval: li v0, -EINVAL
+einval: li v0, -ENOSYS
jr ra END(sys32_syscall)
Quoted 6 lines · David Daney
When the o32 errno was changed to ENOSYS, we forgot to update the code for 64bit kernels.
Signed-off-by David Daney <[email protected]>--- arch/mips/kernel/scall64-o32.S | 2 +-
Yes, thanks.
Acked-by Atsushi Nemoto <[email protected]>
Ralf Baechle
AppliedQuoted 2 lines · David Daney
When the o32 errno was changed to ENOSYS, we forgot to update the code for 64bit kernels.
Thanks, applied.
Ralf