Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] MIPS: Return ENOSYS from sys32_syscall on 64bit kernels just like everywhere else.
@ 2008-10-31 18:23 David Daney
  2008-11-02 16:02 ` Atsushi Nemoto
  2008-12-04 17:46 ` Ralf Baechle
  0 siblings, 2 replies; 3+ messages in thread
From: David Daney @ 2008-10-31 18:23 UTC (permalink / raw)
  To: linux-mips


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>
---
 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)
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] MIPS: Return ENOSYS from sys32_syscall on 64bit kernels just like everywhere else.
  2008-10-31 18:23 [PATCH] MIPS: Return ENOSYS from sys32_syscall on 64bit kernels just like everywhere else David Daney
@ 2008-11-02 16:02 ` Atsushi Nemoto
  2008-12-04 17:46 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Atsushi Nemoto @ 2008-11-02 16:02 UTC (permalink / raw)
  To: ddaney; +Cc: linux-mips

On Fri, 31 Oct 2008 11:23:09 -0700, David Daney <ddaney@caviumnetworks.com> wrote:
> 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>
> ---
>  arch/mips/kernel/scall64-o32.S |    2 +-

Yes, thanks.

Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] MIPS: Return ENOSYS from sys32_syscall on 64bit kernels just like everywhere else.
  2008-10-31 18:23 [PATCH] MIPS: Return ENOSYS from sys32_syscall on 64bit kernels just like everywhere else David Daney
  2008-11-02 16:02 ` Atsushi Nemoto
@ 2008-12-04 17:46 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2008-12-04 17:46 UTC (permalink / raw)
  To: David Daney; +Cc: linux-mips

On Fri, Oct 31, 2008 at 11:23:09AM -0700, David Daney wrote:

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

Thanks, applied.

  Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-04 17:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31 18:23 [PATCH] MIPS: Return ENOSYS from sys32_syscall on 64bit kernels just like everywhere else David Daney
2008-11-02 16:02 ` Atsushi Nemoto
2008-12-04 17:46 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox