Received: from eggs.gnu.org ([140.186.70.92]:36898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt3xv-0006Uo-SE for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rt3xo-0000I1-Cz for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:11 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:40205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt3xo-0000HL-5a for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:04 -0500 From: Stefan Weil Date: Thu, 2 Feb 2012 22:12:46 +0100 Message-Id: <1328217177-32745-5-git-send-email-sw@weilnetz.de> In-Reply-To: <1328217177-32745-1-git-send-email-sw@weilnetz.de> References: <1328217177-32745-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH 04/15] target-cris: Clean includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Weil , "Edgar E. Iglesias" The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h. Cc: Edgar E. Iglesias Signed-off-by: Stefan Weil --- 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 . */ -#include -#include - -#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 -#include -#include - -#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 -#include -#include -#include -#include - #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