[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 27/31] target/sparc: Remove pointless use of CONFIG_TCG defini
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v5 27/31] target/sparc: Remove pointless use of CONFIG_TCG definition |
Date: |
Mon, 20 Sep 2021 23:44:43 +0200 |
The SPARC target only support TCG acceleration. Remove the CONFIG_TCG
definition introduced by mistake in commit 78271684719 ("cpu: tcg_ops:
move to tcg-cpu-ops.h, keep a pointer in CPUClass").
Reported-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
target/sparc/cpu.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c
index 5a8a4ce7506..e83e305aa9d 100644
--- a/target/sparc/cpu.c
+++ b/target/sparc/cpu.c
@@ -859,7 +859,6 @@ static const struct SysemuCPUOps sparc_sysemu_ops = {
};
#endif
-#ifdef CONFIG_TCG
#include "hw/core/tcg-cpu-ops.h"
static const struct TCGCPUOps sparc_tcg_ops = {
@@ -874,7 +873,6 @@ static const struct TCGCPUOps sparc_tcg_ops = {
.do_unaligned_access = sparc_cpu_do_unaligned_access,
#endif /* !CONFIG_USER_ONLY */
};
-#endif /* CONFIG_TCG */
static void sparc_cpu_class_init(ObjectClass *oc, void *data)
{
--
2.31.1
- [PATCH v5 17/31] target/microblaze: Restrict has_work() handler to sysemu, (continued)
- [PATCH v5 17/31] target/microblaze: Restrict has_work() handler to sysemu, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 18/31] target/mips: Restrict has_work() handler to sysemu and TCG, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 19/31] target/nios2: Restrict has_work() handler to sysemu, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 20/31] target/openrisc: Restrict has_work() handler to sysemu, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 21/31] target/ppc: Introduce PowerPCCPUClass::has_work(), Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 23/31] target/riscv: Restrict has_work() handler to sysemu and TCG, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 22/31] target/ppc: Restrict has_work() handlers to sysemu and TCG, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 24/31] target/rx: Restrict has_work() handler to sysemu, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 25/31] target/s390x: Restrict has_work() handler to sysemu and TCG, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 26/31] target/sh4: Restrict has_work() handler to sysemu, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 27/31] target/sparc: Remove pointless use of CONFIG_TCG definition,
Philippe Mathieu-Daudé <=
- [PATCH v5 28/31] target/sparc: Restrict has_work() handler to sysemu, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 30/31] target/xtensa: Restrict has_work() handler to sysemu, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 29/31] target/tricore: Restrict has_work() handler to sysemu, Philippe Mathieu-Daudé, 2021/09/20
- [PATCH v5 31/31] accel: Add missing AccelOpsClass::has_work() and drop SysemuCPUOps one, Philippe Mathieu-Daudé, 2021/09/20