patch-2.4.0-test12 linux/arch/mips/lib/memcpy.S
Next file: linux/arch/mips/lib/memset.S
Previous file: linux/arch/mips/lib/Makefile
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Dec 5 23:15:12 2000
- Orig file:
v2.4.0-test11/linux/arch/mips/lib/memcpy.S
- Orig date:
Sat May 13 08:29:14 2000
diff -u --recursive --new-file v2.4.0-test11/linux/arch/mips/lib/memcpy.S linux/arch/mips/lib/memcpy.S
@@ -3,8 +3,6 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
- * $Id: memcpy.S,v 1.3 1998/07/10 01:14:49 ralf Exp $
- *
* Unified implementation of memcpy, memmove and the __copy_user backend.
* For __rmemcpy and memmove an exception is always a kernel bug, therefore
* they're not protected. In order to keep the exception fixup routine
@@ -410,6 +408,7 @@
sltu t0, v0, a1 # dst + len < src -> non-
bnez t0, __memcpy # overlapping, can use memcpy
move v0, a0 /* return value */
+ beqz a2, r_out
END(memmove)
LEAF(__rmemcpy) /* a0=dst a1=src a2=len */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)