aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/mcount_64.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/kernel/mcount_64.S')
-rw-r--r--arch/tile/kernel/mcount_64.S7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/tile/kernel/mcount_64.S b/arch/tile/kernel/mcount_64.S
index 3c2b8d5e1d1a..6c6702451962 100644
--- a/arch/tile/kernel/mcount_64.S
+++ b/arch/tile/kernel/mcount_64.S
@@ -81,7 +81,12 @@ STD_ENTRY(ftrace_caller)
81 81
82 /* arg1: self return address */ 82 /* arg1: self return address */
83 /* arg2: parent's return address */ 83 /* arg2: parent's return address */
84 { move r0, lr; move r1, r10 } 84 /* arg3: ftrace_ops */
85 /* arg4: regs (but make it NULL) */
86 { move r0, lr; moveli r2, hw2_last(function_trace_op) }
87 { move r1, r10; shl16insli r2, r2, hw1(function_trace_op) }
88 { movei r3, 0; shl16insli r2, r2, hw0(function_trace_op) }
89 ld r2,r2
85 90
86 .global ftrace_call 91 .global ftrace_call
87ftrace_call: 92ftrace_call: