OSDN Git Service

nds32: Fix the symbols undefined issue by exporting them.
authorGreentime Hu <greentime@andestech.com>
Thu, 19 Apr 2018 07:45:45 +0000 (15:45 +0800)
committerGreentime Hu <greentime@andestech.com>
Wed, 23 May 2018 05:26:20 +0000 (13:26 +0800)
commite3f4624388731eb475ef7494b43440b3ad9269e1
tree105db4d6406adc2a23a42041f1e85a4f5051c111
parent03969d0b3a3f6a7cd2c731eed1c4ccf76da88586
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>
arch/nds32/include/asm/Kbuild
arch/nds32/include/asm/page.h
arch/nds32/kernel/stacktrace.c
arch/nds32/lib/copy_page.S
arch/nds32/mm/cacheflush.c
arch/nds32/mm/init.c