[PATCH] MIPS: Return ENOSYS from sys32_syscall on 64bit kernels just like everywhere else.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




When the o32 errno was changed to ENOSYS, we forgot to update the code
for 64bit kernels.

Signed-off-by: David Daney <ddaney@xxxxxxxxxxxxxxxxxx>
---
arch/mips/kernel/scall64-o32.S |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
index d9299ae..e35e872 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)



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux