Skip to contentSkip to conversation

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

PATCH Applied David Daney 3 participants 3 messages Nov 1, 2008 – Dec 4, 2008 MIPS

lore
Share & tools
lore
#0 lore raw

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.

---
arch/mips/kernel/scall64-o32.S | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/kernel/scall64-o32.S +0 -0
index d9299ae..e35e872 100644
@@ -196,7 +196,7 @@ LEAF(sys32_syscall)
	jr	t2
	/* Unreached */

-einval: li v0, -EINVAL
+einval: li v0, -ENOSYS

	jr	ra
	END(sys32_syscall)
Applied
#2 lore raw
In reply to David Daney
Quoted 2 lines · David Daney

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

Thanks, applied.

Ralf