patch-2.3.40 linux/include/asm-arm/string.h

Next file: linux/include/asm-arm/system.h
Previous file: linux/include/asm-arm/stat.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.39/linux/include/asm-arm/string.h linux/include/asm-arm/string.h
@@ -19,7 +19,6 @@
 #define __HAVE_ARCH_MEMSET
 
 extern void __memzero(void *ptr, __kernel_size_t n);
-extern void __memset(void *ptr, int v, __kernel_size_t n);
 
 #define memset(p,v,n)							\
 	({								\
@@ -27,7 +26,7 @@
 			if (__builtin_constant_p((v)) && (v) == 0)	\
 				__memzero((p),(n));			\
 			else						\
-				__memset((p),(v),(n));			\
+				memset((p),(v),(n));			\
 		}							\
 		(p);							\
 	})

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