aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op_helper.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-08 21:24:36 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-08 21:24:36 +0000
commit18fba28c95d0f504d745e8e25c61f06e13601d10 (patch)
tree7660d9472931b651b720fd52a63b34820622b560 /target-ppc/op_helper.c
parent68016c627beb3df8ce69225b64ed6433efcc967d (diff)
ppc fixes - gcc 3.4 compile fix (initial patch by Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1273 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_helper.c')
-rw-r--r--target-ppc/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
index 073ca37e16..433f6b1284 100644
--- a/target-ppc/op_helper.c
+++ b/target-ppc/op_helper.c
@@ -377,7 +377,7 @@ void do_fnabs (void)
void do_check_reservation (void)
{
- if ((env->reserve & ~(ICACHE_LINE_SIZE - 1)) == T0)
+ if ((env->reserve & ~0x03) == T0)
env->reserve = -1;
}