From: Peter Crosthwaite <crosthwaitepeter@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, pbonzini@redhat.com,
Peter Crosthwaite <crosthwaite.peter@gmail.com>
Subject: [Qemu-devel] [PATCH] memory_mapping: Use qemu_common.h include
Date: Mon, 25 May 2015 23:38:22 -0700 [thread overview]
Message-ID: <1432622302-6798-1-git-send-email-crosthwaite.peter@gmail.com> (raw)
Rather than an explicit inclusion of cpu.h. This maked it more
consistent with other core code files, which either just rely on
qemu-common.h inclusion or preceed cpu.h with qemu-common.h anyway.
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
---
Picked up by my multi arch WIP where target-multi/cpu.h cant handle
random core code inclusion without preceeded qemu-common.h. I guess
this is the only one in tree?
---
memory_mapping.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/memory_mapping.c b/memory_mapping.c
index 7b69801..7cf5548 100644
--- a/memory_mapping.c
+++ b/memory_mapping.c
@@ -13,8 +13,7 @@
#include <glib.h>
-#include "cpu.h"
-#include "exec/cpu-all.h"
+#include "qemu-common.h"
#include "sysemu/memory_mapping.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"
--
1.9.1
next reply other threads:[~2015-05-26 6:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-26 6:38 Peter Crosthwaite [this message]
2015-05-26 8:12 ` [Qemu-devel] [PATCH] memory_mapping: Use qemu_common.h include Paolo Bonzini
2015-05-26 17:05 ` Peter Crosthwaite
2015-05-26 17:18 ` Paolo Bonzini
2015-05-26 17:31 ` Peter Crosthwaite
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=1432622302-6798-1-git-send-email-crosthwaite.peter@gmail.com \
--to=crosthwaitepeter@gmail.com \
--cc=crosthwaite.peter@gmail.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@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).