[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 13/24] accel/tcg: Include missing 'hw/core/cpu.h' header
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 13/24] accel/tcg: Include missing 'hw/core/cpu.h' header |
Date: |
Mon, 11 Dec 2023 22:19:50 +0100 |
tcg_cpu_init_cflags() accesses CPUState fields, so requires
"hw/core/cpu.h" to get its structure definition.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
accel/tcg/tcg-accel-ops.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/accel/tcg/tcg-accel-ops.c b/accel/tcg/tcg-accel-ops.c
index 1b57290682..58806e2d7f 100644
--- a/accel/tcg/tcg-accel-ops.c
+++ b/accel/tcg/tcg-accel-ops.c
@@ -37,6 +37,8 @@
#include "exec/tb-flush.h"
#include "exec/gdbstub.h"
+#include "hw/core/cpu.h"
+
#include "tcg-accel-ops.h"
#include "tcg-accel-ops-mttcg.h"
#include "tcg-accel-ops-rr.h"
--
2.41.0
- [PATCH 04/24] accel: Include missing 'exec/cpu_ldst.h' header, (continued)
- [PATCH 04/24] accel: Include missing 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 05/24] semihosting/uaccess: Avoid including 'cpu.h', Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 06/24] semihosting/guestfd: Remove unused 'semihosting/uaccess.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 07/24] host/load-extract: Include missing 'qemu/atomic.h' and 'qemu/int128.h', Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 08/24] host/atomic128: Include missing 'qemu/atomic.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 09/24] hw/ppc/spapr_hcall: Remove unused 'exec/exec-all.h' included header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 10/24] hw/misc/mips_itu: Remove unnecessary 'exec/exec-all.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 11/24] hw/s390x/ipl: Remove unused 'exec/exec-all.h' included header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 12/24] target/i386: Include missing 'exec/exec-all.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 13/24] accel/tcg: Include missing 'hw/core/cpu.h' header,
Philippe Mathieu-Daudé <=
- [PATCH 14/24] gdbstub: Include missing 'hw/core/cpu.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 15/24] exec/cpu-all: Remove unused headers, Philippe Mathieu-Daudé, 2023/12/11
- Re: [PATCH 00/24] exec: Rework of various headers (user focused), Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 16/24] exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 17/24] target/ppc/excp_helper: Avoid 'abi_ptr' in system emulation, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 18/24] accel/tcg: Un-inline retaddr helpers to 'user-retaddr.h', Philippe Mathieu-Daudé, 2023/12/11