ARM: 5627/1: Fix restoring of lr at the end of mcount
[deliverable/linux.git] / arch / arm / kernel / entry-common.S
index 366e5097a41a4f535d1d24ddccab44f13580fb64..8c3de1a350b5dd85bdf06b79f1dab163cd305743 100644 (file)
@@ -148,7 +148,7 @@ trace:
        sub r0, r0, #MCOUNT_INSN_SIZE
        mov lr, pc
        mov pc, r2
-       mov lr, r1                              @ restore lr
+       ldr lr, [fp, #-4]                       @ restore lr
        ldmia sp!, {r0-r3, pc}
 
 #endif /* CONFIG_DYNAMIC_FTRACE */
This page took 0.027355 seconds and 5 git commands to generate.