diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2020-04-08 11:47:33 +0200 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-05-13 11:55:05 +0200 |
commit | a13d5887ffaf128c955432cd6005cd12d50f9124 (patch) | |
tree | 5bdedfd51243fc54d4564d927d499c7da20d019d /arch/csky/abiv2 | |
parent | Linux 5.7-rc5 (diff) | |
download | linux-a13d5887ffaf128c955432cd6005cd12d50f9124.tar.xz linux-a13d5887ffaf128c955432cd6005cd12d50f9124.zip |
csky/ftrace: Fixup error when disable CONFIG_DYNAMIC_FTRACE
When CONFIG_DYNAMIC_FTRACE is enabled, static ftrace will fail to
boot up and compile. It's a carelessness when developing "dynamic
ftrace" and "ftrace with regs".
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'arch/csky/abiv2')
-rw-r--r-- | arch/csky/abiv2/mcount.S | 2 |
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 |