]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: stacktrace: Factor out common unwind()
authorKalesh Singh <kaleshsingh@google.com>
Tue, 26 Jul 2022 07:37:38 +0000 (00:37 -0700)
committerMarc Zyngier <maz@kernel.org>
Tue, 26 Jul 2022 09:48:43 +0000 (10:48 +0100)
commit9e727208fe7ece231d60696d593a008d67ca3289
tree0cb8753590feee1b3d6bc054f44177ee7c3cee4e
parent5a0ba44c801d8b643d5ace94b3ba5ba683e176a9
arm64: stacktrace: Factor out common unwind()

Move unwind() to stacktrace/common.h, and as a result
the kernel unwind_next() to asm/stacktrace.h. This allow
reusing unwind() in the implementation of the nVHE HYP
stack unwinder, later in the series.

Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Tested-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220726073750.3219117-6-kaleshsingh@google.com
arch/arm64/include/asm/stacktrace.h
arch/arm64/include/asm/stacktrace/common.h
arch/arm64/kernel/stacktrace.c