]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ppc-opcode: Define and use PPC_RAW_SETB()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 7 Jul 2022 14:55:16 +0000 (16:55 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 27 Jul 2022 11:36:05 +0000 (21:36 +1000)
commit43c2f643e5f60c9211ec1a2bc0f37253b5ab0824
tree1de015189270572cb4fb9af73fe9725c14c0f4be
parent40aa0064d897fc3df07aed9ea316469c2415833c
powerpc/ppc-opcode: Define and use PPC_RAW_SETB()

We have PPC_INST_SETB then build the 'setb' instruction in the
user.

Instead, define PPC_RAW_SETB() and use it.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b08a4f26919a8f8cdcf7544ab552d9c1c63418b5.1657205708.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/lib/test_emulate_step.c