aboutsummaryrefslogtreecommitdiff
path: root/target-moxie/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-moxie/helper.c')
-rw-r--r--target-moxie/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-moxie/helper.c b/target-moxie/helper.c
index 04b36b78b5..3d0c34dd0a 100644
--- a/target-moxie/helper.c
+++ b/target-moxie/helper.c
@@ -148,7 +148,7 @@ int moxie_cpu_handle_mmu_fault(CPUState *cs, vaddr address,
phy = res.phy;
r = 0;
}
- tlb_set_page(env, address, phy, prot, mmu_idx, TARGET_PAGE_SIZE);
+ tlb_set_page(cs, address, phy, prot, mmu_idx, TARGET_PAGE_SIZE);
return r;
}