From: Chen Gang Date: Mon, 28 Oct 2013 03:00:38 +0000 (+0800) Subject: arc: export symbol for save_stack_trace() in stacktrace.c X-Git-Tag: MMI-PSA29.97-13-9~13347^2~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8f146d0204a874b6b1f5344ed578796e2fcd7e9c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Chen Gang Signed-off-by: Vineet Gupta --- diff --git a/arch/arc/kernel/stacktrace.c b/arch/arc/kernel/stacktrace.c index ab97b034922f..9ce47cfe2303 100644 --- a/arch/arc/kernel/stacktrace.c +++ b/arch/arc/kernel/stacktrace.c @@ -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