]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
annotate that [fp, #-4] is the saved lr
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 31 Jan 2009 00:21:56 +0000 (01:21 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 31 Jan 2009 00:21:56 +0000 (01:21 +0100)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/kernel/entry-common.S

index 06269ea375c52f392f3d45eb94254cc3be7e2bb3..49a6ba926c2bc346bcde289d7948ad4521bf985d 100644 (file)
@@ -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