Fix a simple bug in tlb_fill for moxie. The port was mostly working before, which is why I only really noticed it recently. Thanks to @jcmvbkbc for tracking it down.
Signed-off-by: Anthony Green <gr...@moxielogic.com> --- target-moxie/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-moxie/helper.c b/target-moxie/helper.c index 6e0ac2a..6c36c49 100644 --- a/target-moxie/helper.c +++ b/target-moxie/helper.c @@ -55,8 +55,8 @@ void tlb_fill(CPUMoxieState *env, target_ulong addr, int is_write, int mmu_idx, if (retaddr) { cpu_restore_state(env, retaddr); } + cpu_loop_exit(env); } - cpu_loop_exit(env); } void helper_raise_exception(CPUMoxieState *env, int ex) -- 1.8.1.4