]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Move console stack display code to stacktrace.c
authorMark Brown <broonie@kernel.org>
Mon, 21 Sep 2020 12:23:41 +0000 (13:23 +0100)
committerWill Deacon <will@kernel.org>
Mon, 21 Sep 2020 18:43:03 +0000 (19:43 +0100)
commit52b8cd0a47587cb961d86deced1fd6a774a6bf30
tree88f6f0415bc30583bb6270a6c5cba64d20421756
parent2561b68eb8da32f9b762acd60d77cf23ca198a7c
arm64: Move console stack display code to stacktrace.c

Currently the code for displaying a stack trace on the console is located
in traps.c rather than stacktrace.c, using the unwinding code that is in
stacktrace.c. This can be confusing and make the code hard to find since
such output is often referred to as a stack trace which might mislead the
unwary. Due to this and since traps.c doesn't interact with this code
except for via the public interfaces move the code to stacktrace.c to
make it easier to find.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20200921122341.11280-1-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/stacktrace.c
arch/arm64/kernel/traps.c