aboutsummaryrefslogtreecommitdiff
path: root/target-unicore32/softmmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-unicore32/softmmu.c')
-rw-r--r--target-unicore32/softmmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-unicore32/softmmu.c b/target-unicore32/softmmu.c
index 39ecd98907..9a3786dddb 100644
--- a/target-unicore32/softmmu.c
+++ b/target-unicore32/softmmu.c
@@ -253,7 +253,7 @@ int uc32_cpu_handle_mmu_fault(CPUState *cs, vaddr address,
/* Map a single page. */
phys_addr &= TARGET_PAGE_MASK;
address &= TARGET_PAGE_MASK;
- tlb_set_page(env, address, phys_addr, prot, mmu_idx, page_size);
+ tlb_set_page(cs, address, phys_addr, prot, mmu_idx, page_size);
return 0;
}