Received: from eggs.gnu.org ([140.186.70.92]:36968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt3xz-0006dC-2t for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rt3xq-0000IR-8F for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:13 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:40221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt3xo-0000Hq-Ov for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:05 -0500 From: Stefan Weil Date: Thu, 2 Feb 2012 22:12:50 +0100 Message-Id: <1328217177-32745-9-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 08/15] target-microblaze: Clean includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Weil The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h. Signed-off-by: Stefan Weil --- 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 . */ -#include -#include -#include - -#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 . */ -#include -#include -#include -#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 . */ -#include -#include -#include -#include -#include -#include - #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.7.3