From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbyzC-0001lC-6R for qemu-devel@nongnu.org; Mon, 13 May 2013 16:04:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbyzB-00011R-A0 for qemu-devel@nongnu.org; Mon, 13 May 2013 16:04:42 -0400 Received: from mail-yh0-x22f.google.com ([2607:f8b0:4002:c01::22f]:42110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbyzB-00011I-6H for qemu-devel@nongnu.org; Mon, 13 May 2013 16:04:41 -0400 Received: by mail-yh0-f47.google.com with SMTP id i57so1643159yha.34 for ; Mon, 13 May 2013 13:04:40 -0700 (PDT) From: Anthony Green Date: Mon, 13 May 2013 16:04:24 -0400 Message-Id: <1368475464-3116-1-git-send-email-green@moxielogic.com> Subject: [Qemu-devel] [PATCH moxie] Fix bug in tlb_fill. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Anthony Green 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 --- 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