linux/arch/powerpc
Christophe Leroy d996d5053e 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
2022-05-19 23:11:28 +10:00
..
boot powerpc: fix typos in comments 2022-05-05 22:12:44 +10:00
configs arch: Remove references to CONFIG_NFSD_V3 in the default configs 2022-03-11 10:25:16 -05:00
crypto powerpc: fix typos in comments 2022-05-05 22:12:44 +10:00
include powerpc/signal: Report minimum signal frame size to userspace via AT_MINSIGSTKSZ 2022-05-19 23:11:26 +10:00
kernel powerpc/ftrace: Refactor prepare_ftrace_return() 2022-05-19 23:11:28 +10:00
kexec powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
kvm Merge branch 'topic/ppc-kvm' into next 2022-05-19 23:10:42 +10:00
lib powerpc/code-patching: Use jump_label to check if poking_init() is done 2022-05-11 23:06:39 +10:00
math-emu powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
mm Merge branch 'topic/ppc-kvm' into next 2022-05-19 23:10:42 +10:00
net powerpc updates for 5.18 2022-03-25 09:39:36 -07:00
perf powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
platforms Merge branch 'topic/ppc-kvm' into next 2022-05-19 23:10:42 +10:00
purgatory powerpc/kexec: Don't use .machine ppc64 in trampoline_64.S 2021-04-08 21:17:43 +10:00
sysdev powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
tools powerpc/64: Add UADDR64 relocation support 2022-03-09 21:47:53 +11:00
xmon powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig powerpc/mm: Convert to default topdown mmap layout 2022-05-05 22:11:58 +10:00
Kconfig.debug powerpc/ptdump: Convert powerpc to GENERIC_PTDUMP 2021-08-25 13:35:48 +10:00
Makefile Merge branch 'topic/func-desc-lkdtm' into next 2022-03-07 23:34:32 +11:00
Makefile.postlink