From: Stefan Weil <sw@weilnetz.de>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Stefan Weil <sw@weilnetz.de>, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 08/15] target-microblaze: Clean includes
Date: Tue, 28 Feb 2012 22:47:10 +0100 [thread overview]
Message-ID: <1330465637-23410-9-git-send-email-sw@weilnetz.de> (raw)
In-Reply-To: <1330465637-23410-1-git-send-email-sw@weilnetz.de>
The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
target-microblaze/cpu.h | 3 +++
target-microblaze/helper.c | 5 -----
target-microblaze/mmu.c | 4 ----
target-microblaze/translate.c | 8 --------
4 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index 3ecaeee..4092506 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -19,6 +19,9 @@
#ifndef CPU_MICROBLAZE_H
#define CPU_MICROBLAZE_H
+#include "config.h"
+#include "qemu-common.h"
+
#define TARGET_LONG_BITS 32
#define CPUState struct CPUMBState
diff --git a/target-microblaze/helper.c b/target-microblaze/helper.c
index 2cf2802..e1355ff 100644
--- a/target-microblaze/helper.c
+++ b/target-microblaze/helper.c
@@ -17,11 +17,6 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <string.h>
-#include <assert.h>
-
-#include "config.h"
#include "cpu.h"
#include "host-utils.h"
diff --git a/target-microblaze/mmu.c b/target-microblaze/mmu.c
index 281fc8d..7c34ac0 100644
--- a/target-microblaze/mmu.c
+++ b/target-microblaze/mmu.c
@@ -16,11 +16,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-#include "config.h"
#include "cpu.h"
#define D(x)
diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c
index 96ce2ec..725c2dd 100644
--- a/target-microblaze/translate.c
+++ b/target-microblaze/translate.c
@@ -17,19 +17,11 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdarg.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <inttypes.h>
-#include <assert.h>
-
#include "cpu.h"
#include "disas.h"
#include "tcg-op.h"
#include "helper.h"
#include "microblaze-decode.h"
-#include "qemu-common.h"
#define GEN_HELPER 1
#include "helper.h"
--
1.7.9
next prev parent reply other threads:[~2012-02-28 21:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-28 21:47 [Qemu-devel] [PULL] Patch queue Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 01/15] Remove macro HOST_LONG_SIZE Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 02/15] target-alpha: Clean includes Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 03/15] target-arm: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 04/15] target-cris: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 05/15] target-i386: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 06/15] target-lm32: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 07/15] target-m68k: " Stefan Weil
2012-02-28 21:47 ` Stefan Weil [this message]
2012-02-28 21:47 ` [Qemu-devel] [PATCH 09/15] target-mips: " Stefan Weil
2012-02-28 23:51 ` Johnson, Eric
2012-02-29 5:58 ` Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 10/15] target-ppc: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 11/15] target-s390x: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 12/15] target-sh4: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 13/15] target-unicore32: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 14/15] target-xtensa: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 15/15] Move definition of HOST_LONG_BITS to qemu-common.h Stefan Weil
2012-03-04 11:27 ` [Qemu-devel] [PULL] Patch queue Blue Swirl
-- strict thread matches above, loose matches on Subject: below --
2012-02-02 21:12 [Qemu-devel] [PATCH 00/15] Clean some includes and definitions Stefan Weil
2012-02-02 21:12 ` [Qemu-devel] [PATCH 08/15] target-microblaze: Clean includes Stefan Weil
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=1330465637-23410-9-git-send-email-sw@weilnetz.de \
--to=sw@weilnetz.de \
--cc=aliguori@us.ibm.com \
--cc=qemu-devel@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).