Skip to content

Commit 0de674a

Browse files
brooniectmarinas
authored andcommitted
arm64: stacktrace: Move export for save_stack_trace_tsk()
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 <[email protected]> Acked-by: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 7af9288 commit 0de674a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/stacktrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ static noinline void __save_stack_trace(struct task_struct *tsk,
199199

200200
put_task_stack(tsk);
201201
}
202-
EXPORT_SYMBOL_GPL(save_stack_trace_tsk);
203202

204203
void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace)
205204
{
206205
__save_stack_trace(tsk, trace, 1);
207206
}
207+
EXPORT_SYMBOL_GPL(save_stack_trace_tsk);
208208

209209
void save_stack_trace(struct stack_trace *trace)
210210
{

0 commit comments

Comments
 (0)