| To: | linux-mips <linux-mips@linux-mips.org> |
|---|---|
| Subject: | [PATCH] MIPS: Return ENOSYS from sys32_syscall on 64bit kernels just like everywhere else. |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Fri, 31 Oct 2008 11:23:09 -0700 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 2.0.0.16 (X11/20080723) |
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)
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] provide functions for gpio configuration, Phil Sutter |
|---|---|
| Next by Date: | Re: [PATCH] tc35815: Define more Rx status bits, Jeff Garzik |
| Previous by Thread: | [PATCH] provide functions for gpio configuration, Phil Sutter |
| Next by Thread: | Re: [PATCH] MIPS: Return ENOSYS from sys32_syscall on 64bit kernels just like everywhere else., Atsushi Nemoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |