um: Restore symbol versions for __memcpy and memcpy
diff mbox series

Message ID 1508148152-2965-1-git-send-email-geert@linux-m68k.org
State New, archived
Headers show
Series
  • um: Restore symbol versions for __memcpy and memcpy
Related show

Commit Message

Geert Uytterhoeven Oct. 16, 2017, 10:02 a.m. UTC
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.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 arch/um/include/asm/asm-prototypes.h | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 arch/um/include/asm/asm-prototypes.h

Patch
diff mbox series

diff --git a/arch/um/include/asm/asm-prototypes.h b/arch/um/include/asm/asm-prototypes.h
new file mode 100644
index 0000000000000000..5898a26daa0dd4fa
--- /dev/null
+++ b/arch/um/include/asm/asm-prototypes.h
@@ -0,0 +1 @@ 
+#include <asm-generic/asm-prototypes.h>