Skip to content

Commit

Permalink
arc: export symbol for save_stack_trace() in stacktrace.c
Browse files Browse the repository at this point in the history
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 <gang.chen@asianux.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
  • Loading branch information
Chen Gang authored and Vineet Gupta committed Nov 6, 2013
1 parent 4782f7f commit 8f146d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arc/kernel/stacktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8f146d0

Please sign in to comment.