summary refs log tree commit diff stats
path: root/accel/tcg/tcg-all.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-04-30 15:25:29 -0700
committerRichard Henderson <richard.henderson@linaro.org>2025-05-01 07:38:51 -0700
commit97f0d52435ec9da8fd58dc73b6765181fcb25965 (patch)
tree9a371c430a64334cb44dd14c23e2a130a29da1c2 /accel/tcg/tcg-all.c
parentb5dee28732209eaf93656807810c9c5340e907e1 (diff)
downloadfocaccia-qemu-97f0d52435ec9da8fd58dc73b6765181fcb25965.tar.gz
focaccia-qemu-97f0d52435ec9da8fd58dc73b6765181fcb25965.zip
accel/tcg: Build tcg-all.c twice
Remove some unused headers.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/tcg-all.c')
-rw-r--r--accel/tcg/tcg-all.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/accel/tcg/tcg-all.c b/accel/tcg/tcg-all.c
index 0ce34ac912..6e5dc333d5 100644
--- a/accel/tcg/tcg-all.c
+++ b/accel/tcg/tcg-all.c
@@ -36,15 +36,11 @@
 #include "qapi/qapi-builtin-visit.h"
 #include "qemu/units.h"
 #include "qemu/target-info.h"
-#if defined(CONFIG_USER_ONLY)
-#include "hw/qdev-core.h"
-#else
+#ifndef CONFIG_USER_ONLY
 #include "hw/boards.h"
-#include "system/tcg.h"
 #endif
 #include "accel/tcg/cpu-ops.h"
 #include "internal-common.h"
-#include "cpu-param.h"
 
 
 struct TCGState {