From: Ben Hutchings Date: Wed, 19 Jul 2017 00:03:25 +0000 (+0100) Subject: m68k: Restore symbol versions for symbols exported from assembly X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=07144be9c156103e19a336c35213bd393392d401;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git m68k: Restore symbol versions for symbols exported from assembly WARNING: EXPORT symbol "__divsi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__umodsi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__mulsi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__modsi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__udivsi3" [vmlinux] version generation failed, symbol will not be versioned. Add so that genksyms knows the types of these symbols and can generate CRCs for them. Fixes: d13ffb563044 ("m68k: move exports to definitions" Signed-off-by: Ben Hutchings [geert: Add warning messages, match actual prototypes in gccint.info] Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/include/asm/asm-prototypes.h b/arch/m68k/include/asm/asm-prototypes.h new file mode 100644 index 000000000000..22ccb9c97576 --- /dev/null +++ b/arch/m68k/include/asm/asm-prototypes.h @@ -0,0 +1,5 @@ +extern int __divsi3(int, int); +extern int __modsi3(int, int); +extern int __mulsi3(int, int); +extern unsigned int __udivsi3(unsigned int, unsigned int); +extern unsigned int __umodsi3(unsigned int, unsigned int);