arc: kernel: export symbol for save_stack_trace() in stacktrace.c
PATCH 1/1 arc: kernel: export symbol for save_stack_trace() in stacktrace.c
Need export its symbol just like other architectures done, or can not pass compiling with allmodconfig, the related error:
MODPOST 2994 modules
ERROR: "save_stack_trace" [kernel/backtracetest.ko] undefined!
ERROR: "save_stack_trace" [drivers/md/persistent-data/dm-persistent-data.ko] undefined!
--- arch/arc/kernel/stacktrace.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arc/kernel/stacktrace.c +1 -0
@@ -244,4 +244,5 @@ void save_stack_trace(struct stack_trace *trace) {arc_unwind_core (current,NULL , __collect_all, trace); } +EXPORT_SYMBOL_GPL (save_stack_trace);#endif
Signature · 1 line
1.7.7.6
Quoted 9 lines · Chen Gang
Need export its symbol just like other architectures done, or can not pass compiling with allmodconfig, the related error:
MODPOST 2994 modules
ERROR: "save_stack_trace" [kernel/backtracetest.ko] undefined!
ERROR: "save_stack_trace" [drivers/md/persistent-data/dm-persistent-data.ko] undefined!Signed-off-by Chen Gang <[email protected]>
Applied for 3.13
Thx,
-Vineet
Quoted 4 lines · Vineet Gupta
Quoted 3 lines · Chen Gang
Need export its symbol just like other architectures done, or can not pass compiling with allmodconfig, the related error:
Quoted 9 lines
Quoted 6 lines
MODPOST 2994 modules
ERROR: "save_stack_trace" [kernel/backtracetest.ko] undefined!
ERROR: "save_stack_trace" [drivers/md/persistent-data/dm-persistent-data.ko] undefined!Signed-off-by Chen Gang <[email protected]>Applied for 3.13
Thanks.
Signature · 1 line
Chen Gang