Skip to content

Commit 8d5903f

Browse files
mrutland-armwilldeacon
authored andcommitted
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 <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Madhavan T. Venkataraman <[email protected]> Cc: Mark Brown <[email protected]> Cc: Will Deacon <[email protected]> Reviewed-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent f9c4ff2 commit 8d5903f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/include/asm/stacktrace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ struct stack_info {
3535
* accounting information necessary for robust unwinding.
3636
*
3737
* @fp: The fp value in the frame record (or the real fp)
38-
* @pc: The fp value in the frame record (or the real lr)
38+
* @pc: The lr value in the frame record (or the real lr)
3939
*
4040
* @stacks_done: Stacks which have been entirely unwound, for which it is no
4141
* longer valid to unwind to.

0 commit comments

Comments
 (0)