]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/um/sys-x86_64/ksyms.c
uml: memcpy export needs to follow host declaration
[karo-tx-linux.git] / arch / um / sys-x86_64 / ksyms.c
index 4d7d1a812d8fd8987394b1c7fb583303a9ac1f3e..1db2fce009484b9d78ad11565e5663a866725ee5 100644 (file)
@@ -1,5 +1,11 @@
-#include "linux/module.h"
-#include "asm/string.h"
+#include <linux/module.h>
+#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);