Skip to content

Commit

Permalink
sparc64: fix sparse warning in ftrace.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
sravnborg authored and davem330 committed May 19, 2014
1 parent 758a017 commit b6abce1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/sparc/include/asm/ftrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit b6abce1

Please sign in to comment.