aboutsummaryrefslogtreecommitdiff
path: root/target/mips/sysemu/physaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/mips/sysemu/physaddr.c')
-rw-r--r--target/mips/sysemu/physaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/mips/sysemu/physaddr.c b/target/mips/sysemu/physaddr.c
index 05990aa5bb..13c8bc8f47 100644
--- a/target/mips/sysemu/physaddr.c
+++ b/target/mips/sysemu/physaddr.c
@@ -236,7 +236,7 @@ hwaddr mips_cpu_get_phys_page_debug(CPUState *cs, vaddr addr)
int prot;
if (get_physical_address(env, &phys_addr, &prot, addr, MMU_DATA_LOAD,
- cpu_mmu_index(env, false)) != 0) {
+ mips_env_mmu_index(env)) != 0) {
return -1;
}
return phys_addr;