Skip to content

Commit 418702b

Browse files
committed
Merge tag 'powerpc-4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fix from Michael Ellerman: "Just one fix, for the handling of alignment interrupts on dcbz instructions. Thanks to Paul Mackerras, Christian Zigotzky, Michal Sojka" * tag 'powerpc-4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: powerpc: Fix handling of alignment interrupt on dcbz instruction
2 parents 30db202 + 1bc944c commit 418702b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/kernel/align.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ int fix_alignment(struct pt_regs *regs)
341341

342342
type = op.type & INSTR_TYPE_MASK;
343343
if (!OP_IS_LOAD_STORE(type)) {
344-
if (type != CACHEOP + DCBZ)
344+
if (op.type != CACHEOP + DCBZ)
345345
return -EINVAL;
346346
PPC_WARN_ALIGNMENT(dcbz, regs);
347347
r = emulate_dcbz(op.ea, regs);

0 commit comments

Comments
 (0)