]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: stacktrace: Factor out some common code into on_stack()
authorYunfeng Ye <yeyunfeng@huawei.com>
Fri, 8 May 2020 03:15:45 +0000 (11:15 +0800)
committerWill Deacon <will@kernel.org>
Mon, 18 May 2020 17:04:22 +0000 (18:04 +0100)
commita3c1d2f31247a7d805a1215dec84785b7aeaf90a
tree674b0b0e1e51380d5a572cd13aef409c4bf7680c
parent4d1446edc203c85416de3791788cc8b4101b4f79
arm64: stacktrace: Factor out some common code into on_stack()

There are some common codes for stack checking, so factors it out into
the function on_stack().

No functional change.

Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
Link: https://lore.kernel.org/r/07b3b0e6-3f58-4fed-07ea-7d17b7508948@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/stacktrace.h
arch/arm64/kernel/sdei.c