ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / i386 / lib / memcpy.c
1 #include <linux/config.h>
2 #include <linux/string.h>
3
4 #undef memcpy
5 #undef memset
6
7 void * memcpy(void * to, const void * from, size_t n)
8 {
9 #ifdef CONFIG_X86_USE_3DNOW
10         return __memcpy3d(to, from, n);
11 #else
12         return __memcpy(to, from, n);
13 #endif
14 }
15
16 void * memset(void * s, int c, size_t count)
17 {
18         return __memset(s, c, count);
19 }