powerpc/fsl: Modernise mt/mfpmr
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 29 Feb 2024 12:25:20 +0000 (23:25 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Mar 2024 12:05:21 +0000 (23:05 +1100)
commitf01dbd73ccf122486ad4b52e74f5505985dd6af4
treeb055ab9679fb5573d55d794262f054c40df7de22
parent5f491356b7149564ab22323ccce79c8d595bfd0c
powerpc/fsl: Modernise mt/mfpmr

With the addition of the machine directives, these are no longer simple
1-2 liner macros. So modernise them to be static inlines and use named
asm parameters.

Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240229122521.762431-4-mpe@ellerman.id.au
arch/powerpc/include/asm/reg_fsl_emb.h