powerpc: Use an accessor for instructions
authorJordan Niethe <jniethe5@gmail.com>
Wed, 6 May 2020 03:40:27 +0000 (13:40 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2020 14:10:36 +0000 (00:10 +1000)
commit777e26f0edf8dab58b8dd474d35d83bde0ac6d76
tree456999d501f63d75634a33dbc57306b244777c9d
parent753462512868674a788ecc77bb96752efb818785
powerpc: Use an accessor for instructions

In preparation for introducing a more complicated instruction type to
accommodate prefixed instructions use an accessor for getting an
instruction as a u32.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200506034050.24806-8-jniethe5@gmail.com
arch/powerpc/include/asm/inst.h
arch/powerpc/include/asm/sstep.h
arch/powerpc/kernel/align.c
arch/powerpc/kernel/kprobes.c
arch/powerpc/kernel/trace/ftrace.c
arch/powerpc/kernel/vecemu.c
arch/powerpc/lib/code-patching.c
arch/powerpc/lib/sstep.c
arch/powerpc/lib/test_emulate_step.c
arch/powerpc/mm/fault.c
arch/powerpc/xmon/xmon.c