From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: kvm@vger.kernel.org,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
"Helge Deller" <deller@gmx.de>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Jason Wang" <jasowang@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH 3/4] exec/address-spaces.h: Remove unuseful 'exec/memory.h' include
Date: Mon, 19 Jun 2023 09:41:52 +0200 [thread overview]
Message-ID: <20230619074153.44268-4-philmd@linaro.org> (raw)
In-Reply-To: <20230619074153.44268-1-philmd@linaro.org>
"exec/address-spaces.h" declares get_system_io() and
get_system_memory(), both returning a MemoryRegion pointer.
MemoryRegion is forward declared in "qemu/typedefs.h", so
we don't need any declaration from "exec/memory.h" here.
Remove it.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/exec/address-spaces.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/exec/address-spaces.h b/include/exec/address-spaces.h
index db8bfa9a92..0d0aa61d68 100644
--- a/include/exec/address-spaces.h
+++ b/include/exec/address-spaces.h
@@ -19,8 +19,6 @@
* you're one of them.
*/
-#include "exec/memory.h"
-
#ifndef CONFIG_USER_ONLY
/* Get the root memory region. This interface should only be used temporarily
--
2.38.1
next prev parent reply other threads:[~2023-06-19 7:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-19 7:41 [PATCH 0/4] exec: Header cleanups around memory.h/address-spaces.h Philippe Mathieu-Daudé
2023-06-19 7:41 ` [PATCH 1/4] hw/net/i82596: Include missing 'exec/address-spaces.h' header Philippe Mathieu-Daudé
2023-06-19 8:05 ` Richard Henderson
2023-06-19 7:41 ` [PATCH 2/4] hw/dma/etraxfs: Include missing 'exec/memory.h' header Philippe Mathieu-Daudé
2023-06-19 8:05 ` Richard Henderson
2023-06-19 7:41 ` Philippe Mathieu-Daudé [this message]
2023-06-19 8:06 ` [PATCH 3/4] exec/address-spaces.h: Remove unuseful 'exec/memory.h' include Richard Henderson
2023-06-19 7:41 ` [PATCH 4/4] sysemu/kvm: Re-include "exec/memattrs.h" header Philippe Mathieu-Daudé
2023-06-19 8:06 ` 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=20230619074153.44268-4-philmd@linaro.org \
--to=philmd@linaro.org \
--cc=deller@gmx.de \
--cc=edgar.iglesias@gmail.com \
--cc=jasowang@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.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