diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-10-27 23:00:38 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-11-06 00:11:44 -0500 |
commit | 8f146d0204a874b6b1f5344ed578796e2fcd7e9c (patch) | |
tree | 7dab14109f5555a8d1d430ea9992a45dc30cbd7e /arch/arc | |
parent | 4782f7f9aeba4dfd383c532e96bebf83ce0b9748 (diff) |
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 <gang.chen@asianux.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/kernel/stacktrace.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
246 | /* Pass NULL for task so it unwinds the current call frame */ | 246 | /* Pass NULL for task so it unwinds the current call frame */ |
247 | arc_unwind_core(NULL, NULL, __collect_all, trace); | 247 | arc_unwind_core(NULL, NULL, __collect_all, trace); |
248 | } | 248 | } |
249 | EXPORT_SYMBOL_GPL(save_stack_trace); | ||
249 | #endif | 250 | #endif |