summaryrefslogtreecommitdiff
path: root/arch/nds32/lib
diff options
context:
space:
mode:
authorGreentime Hu <greentime@andestech.com>2018-04-19 10:45:45 +0300
committerGreentime Hu <greentime@andestech.com>2018-05-23 08:26:20 +0300
commite3f4624388731eb475ef7494b43440b3ad9269e1 (patch)
tree105db4d6406adc2a23a42041f1e85a4f5051c111 /arch/nds32/lib
parent03969d0b3a3f6a7cd2c731eed1c4ccf76da88586 (diff)
downloadlinux-e3f4624388731eb475ef7494b43440b3ad9269e1.tar.xz
nds32: Fix the symbols undefined issue by exporting them.
It broke the 'allmodconfig' build. LD vmlinux SYSMAP System.map Building modules, stage 2. MODPOST 5028 modules ERROR: "flush_dcache_page" [net/sunrpc/xprtrdma/rpcrdma.ko] undefined! ERROR: "empty_zero_page" [net/ceph/libceph.ko] undefined! ERROR: "save_stack_trace" [kernel/backtracetest.ko] undefined! ERROR: "clear_page" [fs/ocfs2/dlm/ocfs2_dlm.ko] undefined! ERROR: "copy_page" [fs/nilfs2/nilfs2.ko] undefined! ... Signed-off-by: Greentime Hu <greentime@andestech.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/nds32/lib')
-rw-r--r--arch/nds32/lib/copy_page.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/nds32/lib/copy_page.S b/arch/nds32/lib/copy_page.S
index 4a2ff85f17ee..f8701ed161a8 100644
--- a/arch/nds32/lib/copy_page.S
+++ b/arch/nds32/lib/copy_page.S
@@ -2,6 +2,7 @@
// Copyright (C) 2005-2017 Andes Technology Corporation
#include <linux/linkage.h>
+#include <asm/export.h>
#include <asm/page.h>
.text
@@ -16,6 +17,7 @@ ENTRY(copy_page)
popm $r2, $r10
ret
ENDPROC(copy_page)
+EXPORT_SYMBOL(copy_page)
ENTRY(clear_page)
pushm $r1, $r9
@@ -35,3 +37,4 @@ ENTRY(clear_page)
popm $r1, $r9
ret
ENDPROC(clear_page)
+EXPORT_SYMBOL(clear_page)