Skip to content

Commit

Permalink
annotate that [fp, #-4] is the saved lr
Browse files Browse the repository at this point in the history
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
  • Loading branch information
Uwe Kleine-König committed Jan 31, 2009
1 parent 6fd7ad9 commit b3c960b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/kernel/entry-common.S
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ ENTRY(mcount)
ldmia sp!, {r0-r3, pc}

trace:
ldr r1, [fp, #-4]
ldr r1, [fp, #-4] @ lr of instrumented routine
mov r0, lr
sub r0, r0, #MCOUNT_INSN_SIZE
mov lr, pc
Expand Down

0 comments on commit b3c960b

Please sign in to comment.