summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Walle <walle@corscience.de>2010-09-03 10:15:34 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-10-04 18:33:58 +0100
commite9fb4d84d69403d1e004422086c559b31b3f8136 (patch)
tree21b03b42c75b90a3c06e7cbaf2bc6c87e9ddab79
parent7dde29cb1dc4e3e9c4c3746332b5f61695cd59da (diff)
MIPS: N32: Fix getdents64 syscall for n32
Commit 31c984a5acabea5d8c7224dc226453022be46f33 introduced a new syscall getdents64. However, in the syscall table, the new syscall still refers to the old getdents which doesn't work. The problem appeared with a system that uses the eglibc 2.12-r11187 (that utilizes that new syscall) is very confused. The fix has been tested with that eglibc version. Signed-off-by: Bernhard Walle <walle@corscience.de> To: linux-mips@linux-mips.org Cc: ddaney@caviumnetworks.com Cc: akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/1567/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/kernel/scall64-n32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index a3d66137731a..dfa8cbcdc5aa 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -419,5 +419,5 @@ EXPORT(sysn32_call_table)
PTR sys_perf_event_open
PTR sys_accept4
PTR compat_sys_recvmmsg
- PTR sys_getdents
+ PTR sys_getdents64
.size sysn32_call_table,.-sysn32_call_table