diff options
author | Alan Kao <alankao@andestech.com> | 2018-02-13 13:13:19 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-04-02 19:59:12 -0700 |
commit | 71e736a7d65551e49136c1efc4759e5902729cc2 (patch) | |
tree | 272309b5451443b090a06c2696d758c8a509c307 /arch/riscv/include | |
parent | bc1a4c3a842556852bb02039887d73899d513532 (diff) | |
download | op-kernel-dev-71e736a7d65551e49136c1efc4759e5902729cc2.zip op-kernel-dev-71e736a7d65551e49136c1efc4759e5902729cc2.tar.gz |
riscv/ftrace: Add ARCH_SUPPORTS_FTRACE_OPS support
Cc: Greentime Hu <greentime@andestech.com>
Signed-off-by: Alan Kao <alankao@andestech.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/include')
-rw-r--r-- | arch/riscv/include/asm/ftrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/ftrace.h b/arch/riscv/include/asm/ftrace.h index 078743a..fedadc4 100644 --- a/arch/riscv/include/asm/ftrace.h +++ b/arch/riscv/include/asm/ftrace.h @@ -9,6 +9,7 @@ #define HAVE_FUNCTION_GRAPH_FP_TEST #endif +#define ARCH_SUPPORTS_FTRACE_OPS 1 #ifndef __ASSEMBLY__ void _mcount(void); static inline unsigned long ftrace_call_adjust(unsigned long addr) |