Received: from mail.onstor.com (66.201.51.107) by exch1.onstor.net
 (10.0.0.225) with Microsoft SMTP Server id 8.1.311.2; Tue, 24 Mar 2009
 17:16:21 -0700
Received: from psmtp.com ([64.18.0.127]) by mail.onstor.com with Microsoft
 SMTPSVC(6.0.3790.3959);	 Tue, 24 Mar 2009 17:16:20 -0700
Received: from source ([213.58.128.207]) by exprod5mx290.postini.com
 ([64.18.4.10]) with SMTP;	Tue, 24 Mar 2009 17:16:20 PDT
Received: from localhost.localdomain ([127.0.0.1]:39652 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP	id S21370470AbZCYAQQ
 (ORCPT <rfc822;andy.sharp@onstor.com>);	Wed, 25 Mar 2009 00:16:16 +0000
Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 25 Mar 2009 00:15:59
 +0000 (GMT)
Received: from localhost.localdomain ([127.0.0.1]:37860 "EHLO
 h5.dl5rb.org.uk")	by ftp.linux-mips.org with ESMTP id S21370464AbZCYAP5
 (ORCPT	<rfc822;linux-mips@linux-mips.org>); Wed, 25 Mar 2009 00:15:57 +0000
Received: from h5.dl5rb.org.uk (localhost.localdomain [127.0.0.1])	by
 h5.dl5rb.org.uk (8.14.3/8.14.3) with ESMTP id n2P0Ft0F001452;	Wed, 25 Mar
 2009 01:15:55 +0100
Received: (from ralf@localhost)	by h5.dl5rb.org.uk (8.14.3/8.14.3/Submit) id
 n2P0Ft6B001450;	Wed, 25 Mar 2009 01:15:55 +0100
From: Ralf Baechle <ralf@linux-mips.org>
To: "linux-arch@vger.kernel.org" <linux-arch@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
CC: dann frazier <dannf@dannf.org>, "linux-mips@linux-mips.org"
	<linux-mips@linux-mips.org>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Tue, 24 Mar 2009 17:15:55 -0700
Subject: [PATCH 2/2] MIPS: o32: Get rid of useless wrapper for llseek
Thread-Topic: [PATCH 2/2] MIPS: o32: Get rid of useless wrapper for llseek
Thread-Index: Acms3u0YBIuzqU0zQQa1yffMAgeQFQ==
Message-ID: <20090325001555.GA1357@linux-mips.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 0b
X-MS-Exchange-Organization-AuthSource: exch1.onstor.net
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-originalarrivaltime: 25 Mar 2009 00:16:20.0779 (UTC)
 FILETIME=[EC877FB0:01C9ACDE]
user-agent: Mutt/1.5.18 (2008-05-17)
errors-to: linux-mips-bounce@linux-mips.org
x-pstn-levels: (S:45.69157/99.90000 CV: 7.8455 FC:95.5390 LC:95.5390
 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
x-pstn-neptune: 0/0/0.00/0
x-ems-proccessed: 2K3Xl1OQTInXD6xxuA8z3Q==
x-ems-stamp: bNKKpyHlYNUDVkQ1Ivu6kg==
x-list: linux-mips
x-archive-position: 22138
x-ecartis-version: Ecartis v1.0.0
x-original-sender: ralf@linux-mips.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

 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, uns=
igned long, __dummy,
 	return sys_ftruncate(fd, merge_64(a2, a3));
 }
=20
-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

