Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756637AbZCYAQS (ORCPT ); Tue, 24 Mar 2009 20:16:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755842AbZCYAQC (ORCPT ); Tue, 24 Mar 2009 20:16:02 -0400 Received: from ftp.linux-mips.org ([213.58.128.207]:51597 "EHLO ftp.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753802AbZCYAQB (ORCPT ); Tue, 24 Mar 2009 20:16:01 -0400 Date: Wed, 25 Mar 2009 01:15:55 +0100 From: Ralf Baechle To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Cc: dann frazier , linux-mips@linux-mips.org Subject: [PATCH 2/2] MIPS: o32: Get rid of useless wrapper for llseek Message-ID: <20090325001555.GA1357@linux-mips.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1581 Lines: 42 Signed-off-by: Ralf Baechle arch/mips/kernel/linux32.c | 7 ------- arch/mips/kernel/scall64-o32.S | 2 +- 2 files changed, 1 insertions(+), 8 deletions(-) diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c index 49aac6e..ab2da41 100644 --- a/arch/mips/kernel/linux32.c +++ b/arch/mips/kernel/linux32.c @@ -133,13 +133,6 @@ SYSCALL_DEFINE4(32_ftruncate64, unsigned long, fd, unsigned long, __dummy, return sys_ftruncate(fd, merge_64(a2, a3)); } -SYSCALL_DEFINE5(32_llseek, unsigned long, fd, unsigned long, offset_high, - unsigned long, offset_low, loff_t __user *, result, - unsigned long, origin) -{ - return sys_llseek(fd, offset_high, offset_low, result, origin); -} - /* From the Single Unix Spec: pread & pwrite act like lseek to pos + op + lseek back to original location. They fail just like lseek does on non-seekable files. */ diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S index b0fef4f..d928614 100644 --- a/arch/mips/kernel/scall64-o32.S +++ b/arch/mips/kernel/scall64-o32.S @@ -343,7 +343,7 @@ sys_call_table: PTR sys_ni_syscall /* for afs_syscall */ PTR sys_setfsuid PTR sys_setfsgid - PTR sys_32_llseek /* 4140 */ + PTR sys_llseek /* 4140 */ PTR compat_sys_getdents PTR compat_sys_select PTR sys_flock -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/