]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
accel/tcg: Build tcg-accel-ops-rr.c once
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Mar 2025 16:49:06 +0000 (08:49 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 8 Mar 2025 15:56:43 +0000 (07:56 -0800)
All that is required is to use cpu-common.h instead of 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-rr.c

index 891b724eb625b8b841111fbf6abdf751fb02a543..87c1394b626aa4d05a5349292f94bb9ecd511dfc 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-rr.c',
 ))
 
 system_ss.add(when: ['CONFIG_TCG'], if_true: files(
@@ -29,5 +28,6 @@ system_ss.add(when: ['CONFIG_TCG'], if_true: files(
   'monitor.c',
   'tcg-accel-ops.c',
   'tcg-accel-ops-icount.c',
+  'tcg-accel-ops-rr.c',
   'watchpoint.c',
 ))
index 028b385af9aabd83017c93310bd1e367915a5a1c..f62cf24e1d4dd363e36f9ec46722b6a86c326bfe 100644 (file)
@@ -31,7 +31,7 @@
 #include "qemu/main-loop.h"
 #include "qemu/notify.h"
 #include "qemu/guest-random.h"
-#include "exec/exec-all.h"
+#include "exec/cpu-common.h"
 #include "tcg/startup.h"
 #include "tcg-accel-ops.h"
 #include "tcg-accel-ops-rr.h"