powerpc/ftrace: Don't use lmw/stmw in ftrace_regs_caller()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 17 Feb 2022 12:01:56 +0000 (13:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 Mar 2022 13:05:00 +0000 (00:05 +1100)
commit9bdb2eec3dde4d66b71cb4bbaebde0caed2cf0e3
treea20345580d6257a21f4dc7c4be35564ae11ab4fb
parent57201d657eb76d735298405d3200a3b1f67197e1
powerpc/ftrace: Don't use lmw/stmw in ftrace_regs_caller()

For the same reason as commit a85c728cb5e1 ("powerpc/32: Don't use
lmw/stmw for saving/restoring non volatile regs"), don't use
lmw/stmw in ftrace_regs_caller().

Use the same macros for PPC32 and 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/ec286d2cc6989668a96f14543275437d2f3f0e3a.1645099283.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/trace/ftrace_mprofile.S