aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/align.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/align.c b/arch/powerpc/kernel/align.c
index 26b9994d27ee..43ef25156480 100644
--- a/arch/powerpc/kernel/align.c
+++ b/arch/powerpc/kernel/align.c
@@ -341,7 +341,7 @@ int fix_alignment(struct pt_regs *regs)
341 341
342 type = op.type & INSTR_TYPE_MASK; 342 type = op.type & INSTR_TYPE_MASK;
343 if (!OP_IS_LOAD_STORE(type)) { 343 if (!OP_IS_LOAD_STORE(type)) {
344 if (type != CACHEOP + DCBZ) 344 if (op.type != CACHEOP + DCBZ)
345 return -EINVAL; 345 return -EINVAL;
346 PPC_WARN_ALIGNMENT(dcbz, regs); 346 PPC_WARN_ALIGNMENT(dcbz, regs);
347 r = emulate_dcbz(op.ea, regs); 347 r = emulate_dcbz(op.ea, regs);