Skip to content

Commit

Permalink
arm64: stacktrace: Move export for save_stack_trace_tsk()
Browse files Browse the repository at this point in the history
Due to refactoring way back in bb53c82 ("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.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200710182402.50473-1-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
  • Loading branch information
Mark Brown authored and Catalin Marinas committed Jul 14, 2020
1 parent 7af9288 commit 0de674a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/kernel/stacktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0de674a

Please sign in to comment.