VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Steven Rostedt (VMware) <rostedt@goodmis.org> 2021-10-27 12:51:01 -0400 committer: Steven Rostedt (VMware) <rostedt@goodmis.org> 2021-10-27 13:00:17 -0400 commit: 4e84dc47bb48accbbeeba4e6bb3f31aa7895323c parent: ed65df63a39a3f6ed04f7258de8b6789e5021c18
Commit Summary:
ftrace/nds32: Update the proto for ftrace_trace_function to match ftrace_stub
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/nds32/kernel/ftrace.c b/arch/nds32/kernel/ftrace.c
index 0e23e3a8df6b..d55b73b18149 100644
--- a/arch/nds32/kernel/ftrace.c
+++ b/arch/nds32/kernel/ftrace.c
@@ -6,7 +6,7 @@
 
 #ifndef CONFIG_DYNAMIC_FTRACE
 extern void (*ftrace_trace_function)(unsigned long, unsigned long,
-				     struct ftrace_ops*, struct pt_regs*);
+				     struct ftrace_ops*, struct ftrace_regs*);
 extern void ftrace_graph_caller(void);
 
 noinline void __naked ftrace_stub(unsigned long ip, unsigned long parent_ip,