[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 6/8] sparc/sun4m: Don't set cs->halted = 0 in main_cpu_reset()
From: |
Thiago Jung Bauermann |
Subject: |
[PATCH v7 6/8] sparc/sun4m: Don't set cs->halted = 0 in main_cpu_reset() |
Date: |
Wed, 26 Aug 2020 02:55:33 -0300 |
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>
---
hw/sparc/sun4m.c | 1 -
1 file changed, 1 deletion(-)
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)
- [PATCH v7 0/8] Generalize start-powered-off property from ARM, Thiago Jung Bauermann, 2020/08/26
- [PATCH v7 1/8] target/arm: Move start-powered-off property to generic CPUState, Thiago Jung Bauermann, 2020/08/26
- [PATCH v7 2/8] target/arm: Move setting of CPU halted state to generic code, Thiago Jung Bauermann, 2020/08/26
- [PATCH v7 3/8] ppc/spapr: Use start-powered-off CPUState property, Thiago Jung Bauermann, 2020/08/26
- [PATCH v7 4/8] ppc/e500: Use start-powered-off CPUState property, Thiago Jung Bauermann, 2020/08/26
- [PATCH v7 5/8] mips/cps: Use start-powered-off CPUState property, Thiago Jung Bauermann, 2020/08/26
- [PATCH v7 6/8] sparc/sun4m: Don't set cs->halted = 0 in main_cpu_reset(),
Thiago Jung Bauermann <=
- [PATCH v7 7/8] sparc/sun4m: Use start-powered-off CPUState property, Thiago Jung Bauermann, 2020/08/26
- [PATCH v7 8/8] target/s390x: Use start-powered-off CPUState property, Thiago Jung Bauermann, 2020/08/26
- Re: [PATCH v7 0/8] Generalize start-powered-off property from ARM, David Gibson, 2020/08/31