aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-04-30 08:24:36 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-05-16 20:13:51 -0700
commit7d478306e84259678b2941e8af7496ef32a9c4c5 (patch)
tree927a0f6eba5c6400d74d1883ee9f3e5427696e25 /tcg
parenta66efde188e43041277822e582de1c897b966792 (diff)
downloadqemu-7d478306e84259678b2941e8af7496ef32a9c4c5.zip
qemu-7d478306e84259678b2941e8af7496ef32a9c4c5.tar.gz
qemu-7d478306e84259678b2941e8af7496ef32a9c4c5.tar.bz2
tcg: Split out exec/user/guest-base.h
TCG will need this declaration, without all of the other bits that come with cpu-all.h. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index a0bec13..0b0fe9c 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -63,6 +63,9 @@
#include "tcg/tcg-temp-internal.h"
#include "tcg-internal.h"
#include "accel/tcg/perf.h"
+#ifdef CONFIG_USER_ONLY
+#include "exec/user/guest-base.h"
+#endif
/* Forward declarations for functions declared in tcg-target.c.inc and
used here. */