From 51b2772f28f51b04e10e6e51f411f7246e1159d9 Mon Sep 17 00:00:00 2001
From: ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Date: Wed, 30 May 2007 20:46:02 +0000
Subject: Fix CPU (re-)selection on reset.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2900 c046a42c-6fe2-441c-8c8c-71466251a162
---
 hw/mips_pica61.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'hw/mips_pica61.c')

diff --git a/hw/mips_pica61.c b/hw/mips_pica61.c
index 40ea8b5a6a..5bb3405356 100644
--- a/hw/mips_pica61.c
+++ b/hw/mips_pica61.c
@@ -51,6 +51,7 @@ static void main_cpu_reset(void *opaque)
 {
     CPUState *env = opaque;
     cpu_reset(env);
+    cpu_mips_register(env, NULL);
 }
 
 static
-- 
cgit v1.2.3