mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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 <[email protected]>
Signed-off-by: Vineet Gupta <[email protected]>
This commit is contained in:
1 parent
4782f7f9ae
commit
8f146d0204
1 file changed
+1
@@ -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
|
||||
Reference in new issue
Block a user