powerpc/ftrace: Regroup PPC64 specific operations in ftrace_mprofile.S
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 17 Feb 2022 12:01:58 +0000 (13:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 Mar 2022 13:05:01 +0000 (00:05 +1100)
commita5f04d1f2724db036ba4087873c0691881932bc9
tree9c47e6eb4eeb33072cf81950a8c6155af30bd7a9
parent228216716cb5f9a19d70bfc40bdc0d6a7fb7e72f
powerpc/ftrace: Regroup PPC64 specific operations in ftrace_mprofile.S

CONFIG_MPROFILE_KERNEL is only for PPC64 and ftrace_mprofile.o
is build on PPC64 only when CONFIG_MPROFILE_KERNEL is defined.

Move saving of r0 inside #ifdef PPC64

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/619dfb672bf4f1b777a4b3f8b4f14e637fea2716.1645099283.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/trace/ftrace_mprofile.S