Merge branch 'drm-fixes-3.16' of git://people.freedesktop.org/~agd5f/linux
[cascardo/linux.git] / arch / mips / kernel / mcount.S
index a03e93c..539b629 100644 (file)
@@ -83,7 +83,7 @@ _mcount:
        PTR_S   MCOUNT_RA_ADDRESS_REG, PT_R12(sp)
 #endif
 
-       move    a0, ra          /* arg1: self return address */
+       PTR_SUBU a0, ra, 8      /* arg1: self address */
        .globl ftrace_call
 ftrace_call:
        nop     /* a placeholder for the call to a real tracing function */