diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-05-16 23:26:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-19 04:01:35 +0200 |
commit | b6abce1fa8a75e4951e06400cdf48dcad6527ced (patch) | |
tree | 083f6369a16ecbc28dbf0a157c3a1c48dc69ad9f /arch/sparc | |
parent | sparc64: fix sparse warning in kprobes.c (diff) | |
download | linux-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')
-rw-r--r-- | arch/sparc/include/asm/ftrace.h | 4 |
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 */ |