powerpc/inst: ppc_inst_as_u64() becomes ppc_inst_as_ulong()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 20 Apr 2021 14:02:06 +0000 (14:02 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Apr 2021 12:52:32 +0000 (22:52 +1000)
commit693557ebf407a85ea400a0b501bb97687d8f4856
tree9010c7685a1703c2d191bd7582133d218df9ab15
parente522331173ec9af563461e0fae534e83ce39e8e3
powerpc/inst: ppc_inst_as_u64() becomes ppc_inst_as_ulong()

In order to simplify use on PPC32, change ppc_inst_as_u64()
into ppc_inst_as_ulong() that returns the 32 bits instruction
on PPC32.

Will be used when porting OPTPROBES to PPC32.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/22cadf29620664b600b82026d2a72b8b23351777.1618927318.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/inst.h
arch/powerpc/kernel/optprobes.c
arch/powerpc/lib/code-patching.c
arch/powerpc/xmon/xmon.c