aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-03-07 08:49:06 -0800
committerRichard Henderson <richard.henderson@linaro.org>2025-03-08 07:56:43 -0800
commit3b9aec101b38a824441b65a6f93e3c16e04c0914 (patch)
treec4020d3ddc23cadfc0c21cd22a45a915e7c5142c
parent29172ec53658a035742d2d94fb0d9a3d169e90a1 (diff)
downloadqemu-3b9aec101b38a824441b65a6f93e3c16e04c0914.zip
qemu-3b9aec101b38a824441b65a6f93e3c16e04c0914.tar.gz
qemu-3b9aec101b38a824441b65a6f93e3c16e04c0914.tar.bz2
accel/tcg: Build tcg-accel-ops-rr.c once
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>
-rw-r--r--accel/tcg/meson.build2
-rw-r--r--accel/tcg/tcg-accel-ops-rr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/accel/tcg/meson.build b/accel/tcg/meson.build
index 891b724..87c1394 100644
--- a/accel/tcg/meson.build
+++ b/accel/tcg/meson.build
@@ -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',
))
diff --git a/accel/tcg/tcg-accel-ops-rr.c b/accel/tcg/tcg-accel-ops-rr.c
index 028b385..f62cf24 100644
--- a/accel/tcg/tcg-accel-ops-rr.c
+++ b/accel/tcg/tcg-accel-ops-rr.c
@@ -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"