1 --- a/arch/um/os-Linux/user_syms.c
2 +++ b/arch/um/os-Linux/user_syms.c
3 @@ -23,10 +23,8 @@ extern int printf(const char *, ...);
8 extern void *memcpy(void *, const void *, size_t);
12 EXPORT_SYMBOL(memmove);
13 EXPORT_SYMBOL(memset);
14 --- a/arch/um/sys-x86_64/ksyms.c
15 +++ b/arch/um/sys-x86_64/ksyms.c
17 #include <asm/string.h>
18 #include <asm/checksum.h>
20 -/*XXX: we need them because they would be exported by x86_64 */
21 -#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) || __GNUC__ > 4
22 -EXPORT_SYMBOL(memcpy);
24 EXPORT_SYMBOL(__memcpy);
26 EXPORT_SYMBOL(csum_partial);