]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
accel/tcg: fix missing includes for TARGET_HAS_PRECISE_SMC
authorPierrick Bouvier <pierrick.bouvier@linaro.org>
Tue, 25 Mar 2025 04:58:57 +0000 (21:58 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Apr 2025 22:04:57 +0000 (15:04 -0700)
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.

Note: this was caught by a test regression for s390x-softmmu.

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-13-pierrick.bouvier@linaro.org>

accel/tcg/tb-maint.c
accel/tcg/user-exec.c
include/exec/poison.h

index df3438e190248ad376cae9d9d97a5f5007ea3c61..d479f53ae023e5f75393198553574604619705d9 100644 (file)
@@ -20,6 +20,7 @@
 #include "qemu/osdep.h"
 #include "qemu/interval-tree.h"
 #include "qemu/qtree.h"
+#include "cpu.h"
 #include "exec/cputlb.h"
 #include "exec/log.h"
 #include "exec/exec-all.h"
index 72a9809c2d5c0cd7d6836f789448b8b0a531dd5e..7f57d8f1aff4cfdf05e1d0c57d32bfd3dcb3c0c4 100644 (file)
@@ -19,6 +19,7 @@
 #include "qemu/osdep.h"
 #include "accel/tcg/cpu-ops.h"
 #include "disas/disas.h"
+#include "cpu.h"
 #include "exec/vaddr.h"
 #include "exec/exec-all.h"
 #include "exec/tlb-flags.h"
index 8ec02b40e84560e0bcfa92b1129439f3a2319b2b..f267da608382093136507f5d2ef1d88064ed966f 100644 (file)
@@ -38,6 +38,7 @@
 #pragma GCC poison TARGET_SUPPORTS_MTTCG
 #pragma GCC poison TARGET_BIG_ENDIAN
 #pragma GCC poison TCG_GUEST_DEFAULT_MO
+#pragma GCC poison TARGET_HAS_PRECISE_SMC
 
 #pragma GCC poison TARGET_LONG_BITS
 #pragma GCC poison TARGET_FMT_lx