aboutsummaryrefslogtreecommitdiffstats
path: root/xenolinux-2.4.21-pre4-sparse/arch/xeno/lib/memcpy.c
blob: 4cb37b6e501530212bfd2e575f951ed44dce66ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <linux/config.h>
#include <linux/string.h>

#undef memcpy
#undef memset

void * memcpy(void * to, const void * from, size_t n)
{
#ifdef CONFIG_X86_USE_3DNOW
	return __memcpy3d(to, from, n);
#else
	return __memcpy(to, from, n);
#endif
}

void * memset(void * s, int c, size_t count)
{
	return __memset(s, c, count);
}