diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-12-01 16:15:27 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-26 15:31:37 +0200 |
commit | 6bba316e2333462aa8e93eda6908c06db3e4727a (patch) | |
tree | 8dcf0d4109bc280a4c71b37e196e17e177a1eb6a /accel/tcg | |
parent | 3b28c27067dd577a3ea137724c4247c8356915d0 (diff) | |
download | qemu-6bba316e2333462aa8e93eda6908c06db3e4727a.zip qemu-6bba316e2333462aa8e93eda6908c06db3e4727a.tar.gz qemu-6bba316e2333462aa8e93eda6908c06db3e4727a.tar.bz2 |
accel/tcg: Include missing 'hw/core/cpu.h' header
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>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20231212123401.37493-12-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg')
-rw-r--r-- | accel/tcg/tcg-accel-ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel/tcg/tcg-accel-ops.c b/accel/tcg/tcg-accel-ops.c index 9c957f4..2c7b0cc 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" |