summaryrefslogtreecommitdiff
path: root/arch/nds32
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2019-04-24 19:34:46 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-04-30 00:17:22 +0300
commite8025bab7bfbd48d262c01c26c15a9d465fbb083 (patch)
treece025bc9de0b6710afc064e41ebbde073add52f9 /arch/nds32
parent52fde6e70cccc2fcf3f39fed0d0392960e2c2b03 (diff)
downloadlinux-e8025bab7bfbd48d262c01c26c15a9d465fbb083.tar.xz
function_graph: Place ftrace_graph_entry_stub() prototype in include/linux/ftrace.h
ftrace_graph_entry_stub() is defined in generic code, its prototype should be in the generic header and not defined throughout architecture specific code in order to use it. Cc: Greentime Hu <green.hu@gmail.com> Cc: Vincent Chen <deanbo422@gmail.com> Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com> Cc: Helge Deller <deller@gmx.de> Cc: linux-parisc@vger.kernel.org Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/kernel/ftrace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/nds32/kernel/ftrace.c b/arch/nds32/kernel/ftrace.c
index 8a41372551ff..fd2a54b8cd57 100644
--- a/arch/nds32/kernel/ftrace.c
+++ b/arch/nds32/kernel/ftrace.c
@@ -7,7 +7,6 @@
#ifndef CONFIG_DYNAMIC_FTRACE
extern void (*ftrace_trace_function)(unsigned long, unsigned long,
struct ftrace_ops*, struct pt_regs*);
-extern int ftrace_graph_entry_stub(struct ftrace_graph_ent *trace);
extern void ftrace_graph_caller(void);
noinline void __naked ftrace_stub(unsigned long ip, unsigned long parent_ip,