]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Use a function for getting the instruction op code
authorJordan Niethe <jniethe5@gmail.com>
Wed, 6 May 2020 03:40:28 +0000 (13:40 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2020 14:10:37 +0000 (00:10 +1000)
commita21bc464f6df172879efa95a45fdab678e6d0704
treefe2937db7a5e26b5bc496ca3f6d94794e644f23d
parent516c877bd8a96d998ab0403dfba2f6819258c2e6
powerpc: Use a function for getting the instruction op code

In preparation for using a data type for instructions that can not be
directly used with the '>>' operator use a function for getting the op
code of an instruction.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Reviewed-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200506034050.24806-9-jniethe5@gmail.com
arch/powerpc/include/asm/inst.h
arch/powerpc/kernel/align.c
arch/powerpc/kernel/vecemu.c
arch/powerpc/lib/code-patching.c
arch/powerpc/lib/sstep.c
arch/powerpc/mm/fault.c