powerpc/sstep: Introduce GETTYPE macro
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>
Mon, 21 May 2018 04:21:06 +0000 (09:51 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Jun 2018 11:19:40 +0000 (21:19 +1000)
commite6684d07e4308430b9b6497265781a6fb9fd87a0
tree6b5e0cadc229825f8c8392c0889d49d751139462
parent9c2d72d497a32788bf90f05610319a217258129a
powerpc/sstep: Introduce GETTYPE macro

Replace 'op->type & INSTR_TYPE_MASK' expression with GETTYPE(op->type)
macro.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/sstep.h
arch/powerpc/kernel/align.c
arch/powerpc/lib/sstep.c