aboutsummaryrefslogtreecommitdiff
path: root/target/mips/tcg/sysemu/cp0_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/mips/tcg/sysemu/cp0_helper.c')
-rw-r--r--target/mips/tcg/sysemu/cp0_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/mips/tcg/sysemu/cp0_helper.c b/target/mips/tcg/sysemu/cp0_helper.c
index cc545aed9c..62f6fb4bf6 100644
--- a/target/mips/tcg/sysemu/cp0_helper.c
+++ b/target/mips/tcg/sysemu/cp0_helper.c
@@ -1202,7 +1202,7 @@ void helper_mtc0_status(CPUMIPSState *env, target_ulong arg1)
old, old & env->CP0_Cause & CP0Ca_IP_mask,
val, val & env->CP0_Cause & CP0Ca_IP_mask,
env->CP0_Cause);
- switch (cpu_mmu_index(env, false)) {
+ switch (mips_env_mmu_index(env)) {
case 3:
qemu_log(", ERL\n");
break;