MIPS: Restore symbol versions for copy_page_cpu and clear_page_cpu
authorGenjian Zhang <zhanggenjian@kylinos.cn>
Thu, 24 Nov 2022 05:58:16 +0000 (13:58 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 1 Dec 2022 10:46:05 +0000 (11:46 +0100)
commitf466fad9872e4d549e4fc3e1cb3356693978b2ac
treeacbdd0fa41eeca1820aec27e73ea8d2d03b2b8ff
parent43b46e6bc69c2aa4331cfd7fa4e2943a894339e5
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 <kernel-bot@kylinos.cn>
Signed-off-by: Genjian Zhang <zhanggenjian@kylinos.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/asm-prototypes.h