aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op_helper.c
diff options
context:
space:
mode:
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;
}