diff options
author | Ravi Bangoria <ravi.bangoria@linux.ibm.com> | 2018-05-21 07:21:06 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-03 14:19:40 +0300 |
commit | e6684d07e4308430b9b6497265781a6fb9fd87a0 (patch) | |
tree | 6b5e0cadc229825f8c8392c0889d49d751139462 /arch/powerpc/kernel/align.c | |
parent | 9c2d72d497a32788bf90f05610319a217258129a (diff) | |
download | linux-e6684d07e4308430b9b6497265781a6fb9fd87a0.tar.xz |
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>
Diffstat (limited to 'arch/powerpc/kernel/align.c')
-rw-r--r-- | arch/powerpc/kernel/align.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/align.c b/arch/powerpc/kernel/align.c index 3e6c0744c174..11550a3d1ac2 100644 --- a/arch/powerpc/kernel/align.c +++ b/arch/powerpc/kernel/align.c @@ -339,7 +339,7 @@ int fix_alignment(struct pt_regs *regs) if (r < 0) return -EINVAL; - type = op.type & INSTR_TYPE_MASK; + type = GETTYPE(op.type); if (!OP_IS_LOAD_STORE(type)) { if (op.type != CACHEOP + DCBZ) return -EINVAL; |