Commit 8f146d02 authored by Chen Gang's avatar Chen Gang Committed by Vineet Gupta

arc: 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!
Signed-off-by: default avatarChen Gang <gang.chen@asianux.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 4782f7f9
......@@ -246,4 +246,5 @@ void save_stack_trace(struct stack_trace *trace)
/* Pass NULL for task so it unwinds the current call frame */
arc_unwind_core(NULL, NULL, __collect_all, trace);
}
EXPORT_SYMBOL_GPL(save_stack_trace);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment