kernel/arch/riscv/include/asm/ftrace.h
.. .. @@ -1,6 +1,9 @@ 1 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* Copyright (C) 2017 Andes Technology Corporation */ 3 3 4 +#ifndef _ASM_RISCV_FTRACE_H5 +#define _ASM_RISCV_FTRACE_H6 +4 7 /* 5 8 * The graph frame test is not possible if CONFIG_FRAME_POINTER is not enabled. 6 9 * Check arch/riscv/kernel/mcount.S for detail. .. .. @@ -80,4 +83,6 @@ 80 83 #define ftrace_init_nop ftrace_init_nop 81 84 #endif 82 85 83 -#endif86 +#endif /* CONFIG_DYNAMIC_FTRACE */87 +88 +#endif /* _ASM_RISCV_FTRACE_H */