1 #include <linux/string.h>
2 #include <linux/module.h>
7 void *memcpy(void *to, const void *from, size_t n)
9 #ifdef CONFIG_X86_USE_3DNOW
10 return __memcpy3d(to, from, n);
12 return __memcpy(to, from, n);
15 EXPORT_SYMBOL(memcpy);
17 void *memset(void *s, int c, size_t count)
19 return __memset(s, c, count);
21 EXPORT_SYMBOL(memset);
23 void *memmove(void *dest, const void *src, size_t n)
35 : "=&c" (d0), "=&S" (d1), "=&D" (d2)
43 EXPORT_SYMBOL(memmove);