OSDN Git Service

arm64: stacktrace: fix comment
authorMark Rutland <mark.rutland@arm.com>
Mon, 2 Aug 2021 16:48:44 +0000 (17:48 +0100)
committerWill Deacon <will@kernel.org>
Tue, 3 Aug 2021 09:39:35 +0000 (10:39 +0100)
commit8d5903f457145e3fcd858578b065d667822d99ac
tree29da4a9853df6251bdfcb88b1ffc82cf601879e9
parentf9c4ff2ab9fe433d44ebbc2e3c2368a49df44798
arm64: stacktrace: fix comment

Due to a copy-paste error, we describe struct stackframe::pc as a
snapshot of the `fp` field rather than the `lr` field.

Fix the comment.

Signed-off-by: Mark Rutland <mark.rutland@arm.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>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210802164845.45506-2-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/stacktrace.h