linux-mips
[Top] [All Lists]

Re: memcpy.S patch in 64-bit

To: Carsten Langgaard <carstenl@mips.com>
Subject: Re: memcpy.S patch in 64-bit
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Thu, 8 Aug 2002 17:08:07 +0200 (MET DST)
Cc: Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
In-reply-to: <3D52711F.D5C6A8FC@mips.com>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
On Thu, 8 Aug 2002, Carsten Langgaard wrote:

> The __copy_user function (in arch/mips64/lib/memcpy.S) calls __bzero.
> We can't do that because __bzero might modify len, which we want to
> return in case of an error.
> The following patch take care of the problem.

 Hmm, how about simply cloning arch/mips/lib/memcpy.S?  It seems:

1. Designed to work on mips64 as well.

2. More up to date.

And it would ease maintenance. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>