aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2025-03-24 21:58:56 -0700
committerRichard Henderson <richard.henderson@linaro.org>2025-04-23 15:04:57 -0700
commit98c7c1469880e5430e709fd20c5d5daed6b3ad75 (patch)
tree506ba32af3a435efe840d455d0ea9ddb9a2bfbf1
parent22a7c2f239229b2ee9fcbac03cb598d9aebb9196 (diff)
downloadqemu-98c7c1469880e5430e709fd20c5d5daed6b3ad75.zip
qemu-98c7c1469880e5430e709fd20c5d5daed6b3ad75.tar.gz
qemu-98c7c1469880e5430e709fd20c5d5daed6b3ad75.tar.bz2
accel/tcg: fix missing includes for TCG_GUEST_DEFAULT_MO
We prepare to remove cpu.h from cpu-all.h, which will transitively remove it from accel/tcg/tb-internal.h, and thus from most of tcg compilation units. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250325045915.994760-12-pierrick.bouvier@linaro.org>
-rw-r--r--accel/tcg/internal-target.h1
-rw-r--r--accel/tcg/translate-all.c1
-rw-r--r--include/exec/poison.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/accel/tcg/internal-target.h b/accel/tcg/internal-target.h
index c88f007..05abaeb 100644
--- a/accel/tcg/internal-target.h
+++ b/accel/tcg/internal-target.h
@@ -9,6 +9,7 @@
#ifndef ACCEL_TCG_INTERNAL_TARGET_H
#define ACCEL_TCG_INTERNAL_TARGET_H
+#include "cpu-param.h"
#include "exec/exec-all.h"
#include "exec/translation-block.h"
#include "tb-internal.h"
diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c
index 87fb6c5..ed41fc5 100644
--- a/accel/tcg/translate-all.c
+++ b/accel/tcg/translate-all.c
@@ -43,6 +43,7 @@
#include "system/ram_addr.h"
#endif
+#include "cpu-param.h"
#include "exec/cputlb.h"
#include "exec/page-protection.h"
#include "exec/mmap-lock.h"
diff --git a/include/exec/poison.h b/include/exec/poison.h
index 4180a5a..8ec02b4 100644
--- a/include/exec/poison.h
+++ b/include/exec/poison.h
@@ -37,6 +37,7 @@
#pragma GCC poison TARGET_NAME
#pragma GCC poison TARGET_SUPPORTS_MTTCG
#pragma GCC poison TARGET_BIG_ENDIAN
+#pragma GCC poison TCG_GUEST_DEFAULT_MO
#pragma GCC poison TARGET_LONG_BITS
#pragma GCC poison TARGET_FMT_lx