Revision 999fa40e target-ppc/helper.c

b/target-ppc/helper.c
1172 1172
        case 0x1:
1173 1173
        check_perms:
1174 1174
            /* Check from TLB entry */
1175
            /* XXX: there is a problem here or in the TLB fill code... */
1176 1175
            ctx->prot = tlb->prot;
1177
            ctx->prot |= PAGE_EXEC;
1178 1176
            ret = check_prot(ctx->prot, rw, access_type);
1179 1177
            if (ret == -2)
1180 1178
                env->spr[SPR_40x_ESR] = 0;

Also available in: Unified diff