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)
commitcc70bec070f6985383d5afe3b20b6236f4397ca4
treed4b64bd9d9e228ef0a610eda08a91518da8644e0
parent91ab883eb21325ad80f3473633f794c78ac87f51
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.

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]