hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/riscv/include/asm/ftrace.h
....@@ -1,6 +1,9 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
22 /* Copyright (C) 2017 Andes Technology Corporation */
33
4
+#ifndef _ASM_RISCV_FTRACE_H
5
+#define _ASM_RISCV_FTRACE_H
6
+
47 /*
58 * The graph frame test is not possible if CONFIG_FRAME_POINTER is not enabled.
69 * Check arch/riscv/kernel/mcount.S for detail.
....@@ -80,4 +83,6 @@
8083 #define ftrace_init_nop ftrace_init_nop
8184 #endif
8285
83
-#endif
86
+#endif /* CONFIG_DYNAMIC_FTRACE */
87
+
88
+#endif /* _ASM_RISCV_FTRACE_H */