um: Restore symbol versions for __memcpy and memcpy
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 16 Oct 2017 10:02:32 +0000 (12:02 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 19 Feb 2018 18:38:51 +0000 (19:38 +0100)
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>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/asm/asm-prototypes.h [new file with mode: 0644]

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