summaryrefslogtreecommitdiff
path: root/target-openrisc/mmu_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-openrisc/mmu_helper.c')
-rw-r--r--target-openrisc/mmu_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-openrisc/mmu_helper.c b/target-openrisc/mmu_helper.c
index e3fe6c7127..5f7f6f5ac4 100644
--- a/target-openrisc/mmu_helper.c
+++ b/target-openrisc/mmu_helper.c
@@ -52,7 +52,7 @@ void tlb_fill(CPUState *cs, target_ulong addr, int is_write,
cpu_restore_state(env, retaddr);
}
/* Raise Exception. */
- cpu_loop_exit(env);
+ cpu_loop_exit(cs);
}
}
#endif