powerpc/ppc-opcode: Fold PPC_INST_* macros into PPC_RAW_* macros
authorBalamuruhan S <bala24@linux.ibm.com>
Wed, 24 Jun 2020 11:30:38 +0000 (17:00 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2020 03:12:43 +0000 (13:12 +1000)
commite4208f1399b1bf7ed84ba359a6ba0979d1df4029
tree0f6fe5be4b381d1530002ee9f125477b60569fe4
parent357c572948310c88868cee00e64ca3f7fc933a74
powerpc/ppc-opcode: Fold PPC_INST_* macros into PPC_RAW_* macros

Lots of PPC_INST_* macros are used only ever in PPC_* macros, fold
those PPC_INST_* into PPC_RAW_* to avoid using PPC_INST_*
accidentally.

Signed-off-by: Balamuruhan S <bala24@linux.ibm.com>
Tested-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
[mpe: Deal with PHWSYNC, PLWSYNC]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200624113038.908074-7-bala24@linux.ibm.com
arch/powerpc/include/asm/ppc-opcode.h