aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op.c
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-12 00:50:50 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-12 00:50:50 +0000
commita73666f6564e17adcae2908f7b52d42de2ff5211 (patch)
tree4a207351c347ceac78aea7647a23fc7daefc2b08 /target-ppc/op.c
parent6f2d8978728c48ca46f5c01835438508aace5c64 (diff)
More PowerPC target -1 usage fixes (reservation address).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3627 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r--target-ppc/op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c
index 621b975502..05a6de31d3 100644
--- a/target-ppc/op.c
+++ b/target-ppc/op.c
@@ -1998,7 +1998,7 @@ void OPPROTO op_fneg (void)
void OPPROTO op_check_reservation (void)
{
if ((uint32_t)env->reserve == (uint32_t)(T0 & ~0x00000003))
- env->reserve = -1;
+ env->reserve = (target_ulong)-1ULL;
RETURN();
}