Skip to contentSkip to conversation

um: Restore symbol versions for __memcpy and memcpy

PATCH New Geert Uytterhoeven 1 participant 1 message Oct 16, 2017 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 um: Restore symbol versions for __memcpy and memcpy

If CONFIG_MODVERSIONS=y:

WARNING: EXPORT symbol "__memcpy" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "memcpy" [vmlinux] version generation failed, symbol will not be versioned.

Add <asm/asm-prototypes.h>, including the generic version, so that genksyms knows the types of these symbols and can generate CRCs for them.

---
 arch/um/include/asm/asm-prototypes.h | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 arch/um/include/asm/asm-prototypes.h
arch/um/include/asm/asm-prototypes.h new file +1 -0
new file mode 100644
index 0000000000000000..5898a26daa0dd4fa
@@ -0,0 +1 @@
+#include <asm-generic/asm-prototypes.h>
Signature · 1 line
2.7.4