arm64: stacktrace: Move export for save_stack_trace_tsk()
PATCH 1/1 arm64: stacktrace: Move export for save_stack_trace_tsk()
Due to refactoring way back in bb53c820c5b0f1 ("arm64: stacktrace: avoid listing stacktrace functions in stacktrace") the EXPORT_SYMBOL_GPL() for save_stack_trace_tsk() is at the end of __save_stack_trace() rather than the function it exports. Move it to the expected location.
--- arch/arm64/kernel/stacktrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kernel/stacktrace.c +1 -1
@@ -199,12 +199,12 @@ static noinline void __save_stack_trace(struct task_struct *tsk,put_task_stack (tsk); } -EXPORT_SYMBOL_GPL (save_stack_trace_tsk);void save_stack_trace_tsk (struct task_struct *tsk,struct stack_trace *trace) {__save_stack_trace (tsk, trace,1 ); } +EXPORT_SYMBOL_GPL (save_stack_trace_tsk);void save_stack_trace (struct stack_trace *trace) {
Signature · 7 lines
2.20.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 9 lines · Mark Brown
Due to refactoring way back in
bb53c820c5b0f1("arm64: stacktrace: avoid listing stacktrace functions in stacktrace") theEXPORT_SYMBOL_GPL()forsave_stack_trace_tsk()is at the end of__save_stack_trace()rather than the function it exports. Move it to the expected location.Signed-off-by Mark Brown <[email protected]>--- arch/arm64/kernel/stacktrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Will
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel