aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-ppc/op_mem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/op_mem.h b/target-ppc/op_mem.h
index 01df45d9cf..52f55c91b2 100644
--- a/target-ppc/op_mem.h
+++ b/target-ppc/op_mem.h
@@ -141,8 +141,8 @@ PPC_OP(glue(lwarx, MEMSUFFIX))
do_queue_exception(EXCP_ALIGN);
do_process_exceptions();
} else {
- glue(ldl, MEMSUFFIX)((void *)T0);
- regs->reserve = T0 & ~0x03;
+ T1 = glue(ldl, MEMSUFFIX)((void *)T0);
+ regs->reserve = T0;
}
RETURN();
}