patch-2.4.0-test12 linux/arch/alpha/lib/memcpy.c

Next file: linux/arch/alpha/lib/memmove.S
Previous file: linux/arch/alpha/lib/ev67-strncat.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test11/linux/arch/alpha/lib/memcpy.c linux/arch/alpha/lib/memcpy.c
@@ -161,24 +161,3 @@
 
 /* For backward modules compatibility, define __memcpy.  */
 asm("__memcpy = memcpy; .globl __memcpy");
-
-void *memmove (void *dest, const void *src, size_t n)
-{
-	if (dest <= src) {
-		if (!(((unsigned long) dest ^ (unsigned long) src) & 7))
-			__memcpy_aligned_up ((unsigned long) dest,
-					     (unsigned long) src, n);
-		else
-			__memcpy_unaligned_up ((unsigned long) dest,
-					       (unsigned long) src, n);
-	}
-	else {
-		if (!(((unsigned long) dest ^ (unsigned long) src) & 7))
-			__memcpy_aligned_dn ((unsigned long) dest,
-					     (unsigned long) src, n);
-		else
-			__memcpy_unaligned_dn ((unsigned long) dest,
-					       (unsigned long) src, n);
-	}
-	return dest;
-}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)