From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758324Ab0IHHgD (ORCPT ); Wed, 8 Sep 2010 03:36:03 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:65206 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758259Ab0IHHgA (ORCPT ); Wed, 8 Sep 2010 03:36:00 -0400 From: Bernhard Walle To: ralf@linux-mips.org Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: [PATCH] MIPS: N32: Fix getdents64 syscall for n32 Date: Wed, 8 Sep 2010 09:35:57 +0200 Message-Id: <1283931357-4550-1-git-send-email-walle@corscience.de> X-Mailer: git-send-email 1.7.0.4 X-Provags-ID: V02:K0:A88FcoG+4ETwZjSdVb6m4bq/PACEGxvt/d7rR0O5oLq teWV2Q7vdDH6EDzManA8+RHXqIyOWflBoAW+YzmmbUkhkoLEQH B61bYmD/1PnMWo1yvCwx1lNdC4ObulzPrB8ucO0DONN1QEvBzg O2nZnRfs5iIq1zcCyuSQ3/jZpaQLwv00vhSemHzeGrIu5ATWz5 ExlFdct7AQmmGsBh7fj6Q== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/mips/kernel/scall64-n32.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S index a3d6613..dfa8cbc 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 -- 1.7.0.4