projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
758a017
)
sparc64: fix sparse warning in ftrace.c
author
Sam Ravnborg
<sam@ravnborg.org>
Fri, 16 May 2014 21:26:11 +0000
(23:26 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 19 May 2014 02:01:35 +0000
(19:01 -0700)
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>
arch/sparc/include/asm/ftrace.h
patch
|
blob
|
history
diff --git
a/arch/sparc/include/asm/ftrace.h
b/arch/sparc/include/asm/ftrace.h
index a1f1650629d4eb586e3349d60662eed1461dd46f..9ec94ad116fbdded41d184e4b11f3adb8d0544f7 100644
(file)
--- 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 */