arm64: stacktrace: Factor out on_accessible_stack_common()
authorKalesh Singh <kaleshsingh@google.com>
Tue, 26 Jul 2022 07:37:35 +0000 (00:37 -0700)
committerMarc Zyngier <maz@kernel.org>
Tue, 26 Jul 2022 09:48:09 +0000 (10:48 +0100)
commit15a59f19a015185bff90a68f601caec151dea4b4
tree47b3fb4636182b9573dedd063d5db2ed6907998f
parent6bf212c89c48458d8deef1c973678c62528dab04
arm64: stacktrace: Factor out on_accessible_stack_common()

Move common on_accessible_stack checks to stacktrace/common.h. This is
used in the implementation of the nVHE hypervisor unwinder later in
this 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-3-kaleshsingh@google.com
arch/arm64/include/asm/stacktrace.h
arch/arm64/include/asm/stacktrace/common.h