[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 04/15] target-cris: Clean includes
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH 04/15] target-cris: Clean includes |
Date: |
Thu, 2 Feb 2012 22:12:46 +0100 |
The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h.
Cc: Edgar E. Iglesias <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
---
target-cris/cpu.h | 3 +++
target-cris/helper.c | 4 ----
target-cris/mmu.c | 5 -----
target-cris/translate.c | 7 -------
4 files changed, 3 insertions(+), 16 deletions(-)
diff --git a/target-cris/cpu.h b/target-cris/cpu.h
index 453afbb..222a062 100644
--- a/target-cris/cpu.h
+++ b/target-cris/cpu.h
@@ -20,6 +20,9 @@
#ifndef CPU_CRIS_H
#define CPU_CRIS_H
+#include "config.h"
+#include "qemu-common.h"
+
#define TARGET_LONG_BITS 32
#define CPUState struct CPUCRISState
diff --git a/target-cris/helper.c b/target-cris/helper.c
index 5bc6d81..dd7f18e 100644
--- a/target-cris/helper.c
+++ b/target-cris/helper.c
@@ -18,10 +18,6 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <string.h>
-
-#include "config.h"
#include "cpu.h"
#include "mmu.h"
#include "host-utils.h"
diff --git a/target-cris/mmu.c b/target-cris/mmu.c
index d481e39..5cd8f27 100644
--- a/target-cris/mmu.c
+++ b/target-cris/mmu.c
@@ -20,11 +20,6 @@
#ifndef CONFIG_USER_ONLY
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-
-#include "config.h"
#include "cpu.h"
#include "mmu.h"
diff --git a/target-cris/translate.c b/target-cris/translate.c
index 70abf8a..cbdc72c 100644
--- a/target-cris/translate.c
+++ b/target-cris/translate.c
@@ -23,19 +23,12 @@
* The condition code translation is in need of attention.
*/
-#include <stdarg.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <inttypes.h>
-
#include "cpu.h"
#include "disas.h"
#include "tcg-op.h"
#include "helper.h"
#include "mmu.h"
#include "crisv32-decode.h"
-#include "qemu-common.h"
#define GEN_HELPER 1
#include "helper.h"
--
1.7.7.3
- [Qemu-devel] [PATCH 00/15] Clean some includes and definitions, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 02/15] target-alpha: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 15/15] Move definition of HOST_LONG_BITS to qemu-common.h, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 03/15] target-arm: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 04/15] target-cris: Clean includes,
Stefan Weil <=
- [Qemu-devel] [PATCH 01/15] Remove macro HOST_LONG_SIZE, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 13/15] target-unicore32: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 07/15] target-m68k: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 12/15] target-sh4: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 09/15] target-mips: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 05/15] target-i386: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 11/15] target-s390x: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 10/15] target-ppc: Clean includes, Stefan Weil, 2012/02/02