powerpc/ftrace: Add prototype for prepare_ftrace_return()
authorTobin C. Harding <me@tobin.cc>
Mon, 6 Mar 2017 08:49:46 +0000 (19:49 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Mar 2017 08:02:49 +0000 (19:02 +1100)
commitb3a7864c6feb0fb30bc2cd3726570746bec41697
tree5830fd4c549e98e332fcfb71434ff38af02a2dba
parent1fc439c81312cd27aed553964c0d9d48946582ce
powerpc/ftrace: Add prototype for prepare_ftrace_return()

Sparse emits a warning: symbol 'prepare_ftrace_return' was not
declared. Should it be static? prepare_ftrace_return() is called from
assembler and should not be static.

Add a prototype for it to asm-prototypes.h and include that in ftrace.c.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/asm-prototypes.h
arch/powerpc/kernel/ftrace.c