summaryrefslogtreecommitdiffstats
path: root/target/linux/uml
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-10-08 09:09:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-10-08 09:09:45 +0000
commit85278b07c15dc14c3d662581ba00707b9a56095a (patch)
tree201c53904a3ef10f9a406da65ea6cafadf6b34f0 /target/linux/uml
parentf46b140e8499bf77db3ece4b75fb61a87a0c88b1 (diff)
downloadmaster-31e0f0ae-85278b07c15dc14c3d662581ba00707b9a56095a.tar.gz
master-31e0f0ae-85278b07c15dc14c3d662581ba00707b9a56095a.tar.bz2
master-31e0f0ae-85278b07c15dc14c3d662581ba00707b9a56095a.zip
remove the mempcy patch, fixes build failures on most x86_64 hosts
SVN-Revision: 17989
Diffstat (limited to 'target/linux/uml')
-rw-r--r--target/linux/uml/patches/003-memcpy_x86_64_fix.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/target/linux/uml/patches/003-memcpy_x86_64_fix.patch b/target/linux/uml/patches/003-memcpy_x86_64_fix.patch
deleted file mode 100644
index d7920059b5..0000000000
--- a/target/linux/uml/patches/003-memcpy_x86_64_fix.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/arch/um/os-Linux/user_syms.c
-+++ b/arch/um/os-Linux/user_syms.c
-@@ -23,10 +23,8 @@ extern int printf(const char *, ...);
- EXPORT_SYMBOL(strstr);
- #endif
-
--#ifndef __x86_64__
- extern void *memcpy(void *, const void *, size_t);
- EXPORT_SYMBOL(memcpy);
--#endif
-
- EXPORT_SYMBOL(memmove);
- EXPORT_SYMBOL(memset);
---- a/arch/um/sys-x86_64/ksyms.c
-+++ b/arch/um/sys-x86_64/ksyms.c
-@@ -2,10 +2,5 @@
- #include <asm/string.h>
- #include <asm/checksum.h>
-
--/*XXX: we need them because they would be exported by x86_64 */
--#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) || __GNUC__ > 4
--EXPORT_SYMBOL(memcpy);
--#else
- EXPORT_SYMBOL(__memcpy);
--#endif
- EXPORT_SYMBOL(csum_partial);