summaryrefslogtreecommitdiffstats
path: root/hw/sparc/sun4m.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann2020-08-26 07:55:33 +0200
committerDavid Gibson2020-09-08 02:08:43 +0200
commit3d0c102092bc6096c278784484605096aa4f2384 (patch)
tree1a38c816590df124ff1741f7f25c4ff4900115b1 /hw/sparc/sun4m.c
parentmips/cps: Use start-powered-off CPUState property (diff)
downloadqemu-3d0c102092bc6096c278784484605096aa4f2384.tar.gz
qemu-3d0c102092bc6096c278784484605096aa4f2384.tar.xz
qemu-3d0c102092bc6096c278784484605096aa4f2384.zip
sparc/sun4m: Don't set cs->halted = 0 in main_cpu_reset()
We rely on cpu_common_reset() to set cs->halted to 0, it's redundant to do it in main_cpu_reset(). Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> Message-Id: <20200826055535.951207-7-bauerman@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/sparc/sun4m.c')
-rw-r--r--hw/sparc/sun4m.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c
index cf7dfa4af5..7484aa4438 100644
--- a/hw/sparc/sun4m.c
+++ b/hw/sparc/sun4m.c
@@ -224,7 +224,6 @@ static void main_cpu_reset(void *opaque)
CPUState *cs = CPU(cpu);
cpu_reset(cs);
- cs->halted = 0;
}
static void secondary_cpu_reset(void *opaque)