aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-05-09 07:35:59 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-19 23:11:28 +1000
commitd996d5053eb5c0abc0358e5670014a62ada6967e (patch)
tree5253f7d06aa3aa64feaea6caa13c469a6ba2acd3 /mm
parent804c0a166ffea628eb7ef72b9fd710883cb1fa8f (diff)
downloadlinux-d996d5053eb5c0abc0358e5670014a62ada6967e.tar.gz
powerpc/ftrace: Refactor prepare_ftrace_return()
When we have CONFIG_DYNAMIC_FTRACE_WITH_ARGS, prepare_ftrace_return() is called by ftrace_graph_func() otherwise prepare_ftrace_return() is called from assembly. Refactor prepare_ftrace_return() into a static __prepare_ftrace_return() that will be called by both prepare_ftrace_return() and ftrace_graph_func(). It will allow GCC to fold __prepare_ftrace_return() inside ftrace_graph_func(). Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/0d42deafe353980c66cf19d3132638c05ba9f4a9.1652074503.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions