From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org,
qemu-s390x@nongnu.org, qemu-ppc@nongnu.org,
"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH v2 11/11] exec/translation-block: Clean up includes
Date: Tue, 29 Aug 2023 00:13:14 +0200 [thread overview]
Message-ID: <20230828221314.18435-12-philmd@linaro.org> (raw)
In-Reply-To: <20230828221314.18435-1-philmd@linaro.org>
'qemu/atomic.h' and 'exec/target_page.h' are not used.
'qemu/interval-tree.h' is only required for user emulation.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/exec/translation-block.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/exec/translation-block.h b/include/exec/translation-block.h
index 5119924927..b785751774 100644
--- a/include/exec/translation-block.h
+++ b/include/exec/translation-block.h
@@ -7,11 +7,11 @@
#ifndef EXEC_TRANSLATION_BLOCK_H
#define EXEC_TRANSLATION_BLOCK_H
-#include "qemu/atomic.h"
#include "qemu/thread.h"
-#include "qemu/interval-tree.h"
#include "exec/cpu-common.h"
-#include "exec/target_page.h"
+#ifdef CONFIG_USER_ONLY
+#include "qemu/interval-tree.h"
+#endif
/*
* Page tracking code uses ram addresses in system mode, and virtual
--
2.41.0
next prev parent reply other threads:[~2023-08-28 22:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-28 22:13 [PATCH v2 00/11] target/translate: Remove unused "exec/cpu_ldst.h" / "qemu/main-loop.h" Philippe Mathieu-Daudé
2023-08-28 22:13 ` [PATCH v2 01/11] target/ppc/pmu: Include missing 'qemu/timer.h' header Philippe Mathieu-Daudé
2023-08-29 17:04 ` Richard Henderson
2023-08-28 22:13 ` [PATCH v2 02/11] target/riscv/pmu: Restrict 'qemu/log.h' include to source Philippe Mathieu-Daudé
2023-08-29 17:04 ` Richard Henderson
2023-08-28 22:13 ` [PATCH v2 03/11] target/translate: Include missing 'exec/cpu_ldst.h' header Philippe Mathieu-Daudé
2023-08-28 22:13 ` [PATCH v2 04/11] target/translate: Remove unnecessary " Philippe Mathieu-Daudé
2023-08-28 22:13 ` [PATCH v2 05/11] target/translate: Restrict 'exec/cpu_ldst.h' to user emulation Philippe Mathieu-Daudé
2023-08-28 22:13 ` [PATCH v2 06/11] target/helpers: Remove unnecessary 'exec/cpu_ldst.h' header Philippe Mathieu-Daudé
2023-08-28 22:13 ` [PATCH v2 07/11] target/helper: Remove unnecessary 'qemu/main-loop.h' header Philippe Mathieu-Daudé
2023-08-29 17:06 ` Richard Henderson
2023-08-28 22:13 ` [PATCH v2 08/11] target/mips: Remove unused headers in lcsr_helper.c Philippe Mathieu-Daudé
2023-08-28 22:13 ` [PATCH v2 09/11] target/xtensa: Include missing 'qemu/atomic.h' header Philippe Mathieu-Daudé
2023-08-29 17:06 ` Richard Henderson
2023-08-28 22:13 ` [PATCH v2 10/11] qemu/processor: Remove unused " Philippe Mathieu-Daudé
2023-08-29 17:07 ` Richard Henderson
2023-08-28 22:13 ` Philippe Mathieu-Daudé [this message]
2023-08-29 17:07 ` [PATCH v2 11/11] exec/translation-block: Clean up includes Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230828221314.18435-12-philmd@linaro.org \
--to=philmd@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=qemu-s390x@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).