Revision d4c430a8 target-mips/helper.c

b/target-mips/helper.c
296 296
    qemu_log("%s address=" TARGET_FMT_lx " ret %d physical " TARGET_FMT_plx " prot %d\n",
297 297
              __func__, address, ret, physical, prot);
298 298
    if (ret == TLBRET_MATCH) {
299
       ret = tlb_set_page(env, address & TARGET_PAGE_MASK,
300
                          physical & TARGET_PAGE_MASK, prot,
301
                          mmu_idx, is_softmmu);
299
       tlb_set_page(env, address & TARGET_PAGE_MASK,
300
                    physical & TARGET_PAGE_MASK, prot | PAGE_EXEC,
301
                    mmu_idx, TARGET_PAGE_SIZE);
302
       ret = 0;
302 303
    } else if (ret < 0)
303 304
#endif
304 305
    {

Also available in: Unified diff