Skip to content

Commit

Permalink
MIPS: Return ENOSYS from sys32_syscall on 64bit kernels like elsewhere.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Daney authored and Ralf Baechle committed Dec 4, 2008
1 parent 8d13cb2 commit c6cb4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/kernel/scall64-o32.S
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ LEAF(sys32_syscall)
jr t2
/* Unreached */

einval: li v0, -EINVAL
einval: li v0, -ENOSYS
jr ra
END(sys32_syscall)

Expand Down

0 comments on commit c6cb4df

Please sign in to comment.