summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/ftrace.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-16 23:26:11 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-19 04:01:35 +0200
commitb6abce1fa8a75e4951e06400cdf48dcad6527ced (patch)
tree083f6369a16ecbc28dbf0a157c3a1c48dc69ad9f /arch/sparc/include/asm/ftrace.h
parentsparc64: fix sparse warning in kprobes.c (diff)
downloadlinux-b6abce1fa8a75e4951e06400cdf48dcad6527ced.tar.xz
linux-b6abce1fa8a75e4951e06400cdf48dcad6527ced.zip
sparc64: fix sparse warning in ftrace.c
Fix following warning: ftrace.c:123:15: warning: symbol 'prepare_ftrace_return' was not declared. Should it be static? Add prototype for asm/ftrace.h Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/ftrace.h')
-rw-r--r--arch/sparc/include/asm/ftrace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/ftrace.h b/arch/sparc/include/asm/ftrace.h
index a1f1650629d4..9ec94ad116fb 100644
--- a/arch/sparc/include/asm/ftrace.h
+++ b/arch/sparc/include/asm/ftrace.h
@@ -22,4 +22,8 @@ struct dyn_arch_ftrace {
};
#endif /* CONFIG_DYNAMIC_FTRACE */
+unsigned long prepare_ftrace_return(unsigned long parent,
+ unsigned long self_addr,
+ unsigned long frame_pointer);
+
#endif /* _ASM_SPARC64_FTRACE */