patch-1.3.12 linux/include/asm-alpha/string.h

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

diff -u --recursive --new-file v1.3.11/linux/include/asm-alpha/string.h linux/include/asm-alpha/string.h
@@ -5,11 +5,12 @@
 extern void * __memset(void *, char, size_t);
 extern void * __memcpy(void *, const void *, size_t);
 
+#define __HAVE_ARCH_MEMSET
 #define memset(s, c, count) \
 (__builtin_constant_p(c) ? \
  __constant_c_memset((s),(0x0101010101010101UL*(unsigned char)c),(count)) : \
  __memset((s),(c),(count)))
 
-#define memcpy(d,s,count) __memcpy((d),(s),(count))
+#define __HAVE_ARCH_STRLEN
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this