OSDN Git Service

arm64: stacktrace: move dump functions to end of file
authorMark Rutland <mark.rutland@arm.com>
Tue, 11 Apr 2023 16:29:42 +0000 (17:29 +0100)
committerWill Deacon <will@kernel.org>
Tue, 11 Apr 2023 17:34:59 +0000 (18:34 +0100)
commitead6122c289eec06bc1bd167442dfab358fafefb
treeeca0bdedadb8172fa4066bd294ae1757d088a3ad
parent9e09d445f1cab518eedf4454d119ead27979b8f4
arm64: stacktrace: move dump functions to end of file

For historical reasons, the backtrace dumping functions are placed in
the middle of stacktrace.c, despite using functions defined later. For
clarity, and to make subsequent refactoring easier, move the dumping
functions to the end of stacktrace.c

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Kalesh Singh <kaleshsingh@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Madhavan T. Venkataraman <madvenka@linux.microsoft.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20230411162943.203199-3-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/stacktrace.c