From: Genjian Zhang Date: Thu, 24 Nov 2022 05:58:16 +0000 (+0800) Subject: MIPS: Restore symbol versions for copy_page_cpu and clear_page_cpu X-Git-Tag: v6.6.7~3825^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f466fad9872e4d549e4fc3e1cb3356693978b2ac;p=platform%2Fkernel%2Flinux-starfive.git MIPS: Restore symbol versions for copy_page_cpu and clear_page_cpu The mips build generates two warnings: WARNING: modpost: EXPORT symbol "clear_page_cpu" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "copy_page_cpu" [vmlinux] version generation failed, symbol will not be versioned. Add their prototypes to be defined in asm-prototypes.h, so that genksyms knows the types of these symbols and can generate CRCs for them. Reported-by: k2ci Signed-off-by: Genjian Zhang Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/include/asm/asm-prototypes.h b/arch/mips/include/asm/asm-prototypes.h index f901ed0..8e8fc38 100644 --- a/arch/mips/include/asm/asm-prototypes.h +++ b/arch/mips/include/asm/asm-prototypes.h @@ -6,3 +6,6 @@ #include #include #include + +extern void clear_page_cpu(void *page); +extern void copy_page_cpu(void *to, void *from);