]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
accel/tcg: Build tcg-accel-ops-icount.c once
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Mar 2025 15:51:15 +0000 (07:51 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 8 Mar 2025 15:56:43 +0000 (07:56 -0800)
All that is required is to avoid including exec-all.h.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/meson.build
accel/tcg/tcg-accel-ops-icount.c

index 70ada21f4276a3021a2a5107b9df6a142455b57a..891b724eb625b8b841111fbf6abdf751fb02a543 100644 (file)
@@ -21,7 +21,6 @@ specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_specific_ss)
 specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files(
   'cputlb.c',
   'tcg-accel-ops-mttcg.c',
-  'tcg-accel-ops-icount.c',
   'tcg-accel-ops-rr.c',
 ))
 
@@ -29,5 +28,6 @@ system_ss.add(when: ['CONFIG_TCG'], if_true: files(
   'icount-common.c',
   'monitor.c',
   'tcg-accel-ops.c',
+  'tcg-accel-ops-icount.c',
   'watchpoint.c',
 ))
index d6b472a0b0e944552c78a311001e09ffff0a1e80..27cf1044c7f1c03f484b616660b58e07fc62c7a5 100644 (file)
@@ -28,7 +28,7 @@
 #include "system/cpu-timers.h"
 #include "qemu/main-loop.h"
 #include "qemu/guest-random.h"
-#include "exec/exec-all.h"
+#include "hw/core/cpu.h"
 
 #include "tcg-accel-ops.h"
 #include "tcg-accel-ops-icount.h"