提交 f466fad9 编写于 作者: G Genjian Zhang 提交者: Thomas Bogendoerfer

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: Nk2ci <kernel-bot@kylinos.cn>
Signed-off-by: NGenjian Zhang <zhanggenjian@kylinos.cn>
Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
上级 43b46e6b
......@@ -6,3 +6,6 @@
#include <linux/uaccess.h>
#include <asm/ftrace.h>
#include <asm/mmu_context.h>
extern void clear_page_cpu(void *page);
extern void copy_page_cpu(void *to, void *from);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册