summaryrefslogtreecommitdiffstats
path: root/arch/csky/abiv2/mcount.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/csky/abiv2/mcount.S')
-rw-r--r--arch/csky/abiv2/mcount.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/csky/abiv2/mcount.S b/arch/csky/abiv2/mcount.S
index 9331c7ed5958..911512bf480f 100644
--- a/arch/csky/abiv2/mcount.S
+++ b/arch/csky/abiv2/mcount.S
@@ -103,6 +103,8 @@ ENTRY(_mcount)
mov a0, lr
subi a0, 4
ldw a1, (sp, 24)
+ lrw a2, function_trace_op
+ ldw a2, (a2, 0)
jsr r26