csky/ftrace: Fixup error when disable CONFIG_DYNAMIC_FTRACE
authorGuo Ren <guoren@linux.alibaba.com>
Wed, 8 Apr 2020 09:47:33 +0000 (17:47 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Wed, 13 May 2020 09:55:05 +0000 (17:55 +0800)
commita13d5887ffaf128c955432cd6005cd12d50f9124
tree5bdedfd51243fc54d4564d927d499c7da20d019d
parent2ef96a5bb12be62ef75b5828c0aab838ebb29cb8
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>
arch/csky/abiv2/mcount.S
arch/csky/kernel/ftrace.c