projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
102ca96
)
sparc/sun4m: Don't set cs->halted = 0 in main_cpu_reset()
author
Thiago Jung Bauermann
<bauerman@linux.ibm.com>
Wed, 26 Aug 2020 05:55:33 +0000
(
02:55
-0300)
committer
David Gibson
<david@gibson.dropbear.id.au>
Tue, 8 Sep 2020 00:08:43 +0000
(10:08 +1000)
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>
hw/sparc/sun4m.c
patch
|
blob
|
history
diff --git
a/hw/sparc/sun4m.c
b/hw/sparc/sun4m.c
index cf7dfa4af5de1ce99e3bab7fcd1f06801d7f6adb..7484aa443827cbb2577ed821a97704dc973141f3 100644
(file)
--- 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)