Skip to content

Commit f466fad

Browse files
Genjian Zhangtsbogend
authored andcommitted
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 <[email protected]> Signed-off-by: Genjian Zhang <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 43b46e6 commit f466fad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/mips/include/asm/asm-prototypes.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@
66
#include <linux/uaccess.h>
77
#include <asm/ftrace.h>
88
#include <asm/mmu_context.h>
9+
10+
extern void clear_page_cpu(void *page);
11+
extern void copy_page_cpu(void *to, void *from);

0 commit comments

Comments
 (0)