diff options
author | Greentime Hu <greentime@andestech.com> | 2018-04-19 15:45:45 +0800 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-05-23 13:26:20 +0800 |
commit | e3f4624388731eb475ef7494b43440b3ad9269e1 (patch) | |
tree | 105db4d6406adc2a23a42041f1e85a4f5051c111 /arch/nds32/kernel | |
parent | 03969d0b3a3f6a7cd2c731eed1c4ccf76da88586 (diff) | |
download | linux-e3f4624388731eb475ef7494b43440b3ad9269e1.tar.bz2 |
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/kernel')
-rw-r--r-- | arch/nds32/kernel/stacktrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nds32/kernel/stacktrace.c b/arch/nds32/kernel/stacktrace.c index bc70113c0e84..8b231e910ea6 100644 --- a/arch/nds32/kernel/stacktrace.c +++ b/arch/nds32/kernel/stacktrace.c @@ -9,6 +9,7 @@ void save_stack_trace(struct stack_trace *trace) { save_stack_trace_tsk(current, trace); } +EXPORT_SYMBOL_GPL(save_stack_trace); void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) { @@ -45,3 +46,4 @@ void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) fpn = (unsigned long *)fpp; } } +EXPORT_SYMBOL_GPL(save_stack_trace_tsk); |