From patchwork Tue Jan 26 18:17:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8125841 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8DA55BEEE5 for ; Tue, 26 Jan 2016 18:24:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C8EEB202AE for ; Tue, 26 Jan 2016 18:24:32 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ED7532028D for ; Tue, 26 Jan 2016 18:24:31 +0000 (UTC) Received: from localhost ([::1]:45903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8I3-0001ua-8P for patchwork-qemu-devel@patchwork.kernel.org; Tue, 26 Jan 2016 13:24:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BZ-0006cN-N2 for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO8BU-0007gY-M3 for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:49 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BU-0007X4-9Y for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:44 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1aO8BH-0000DK-2v; Tue, 26 Jan 2016 18:17:31 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 26 Jan 2016 18:17:01 +0000 Message-Id: <1453832250-766-9-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1453832250-766-1-git-send-email-peter.maydell@linaro.org> References: <1453832250-766-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:8b0:1d0::1 Cc: patches@linaro.org Subject: [Qemu-devel] [PATCH 08/37] unicore: Clean up includes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell --- hw/dma/puv3_dma.c | 1 + hw/gpio/puv3_gpio.c | 1 + hw/intc/puv3_intc.c | 1 + hw/misc/puv3_pm.c | 1 + hw/timer/puv3_ost.c | 1 + hw/unicore32/puv3.c | 1 + target-unicore32/cpu.c | 1 + target-unicore32/helper.c | 1 + target-unicore32/op_helper.c | 1 + target-unicore32/softmmu.c | 1 + target-unicore32/translate.c | 6 +----- target-unicore32/ucf64_helper.c | 1 + 12 files changed, 12 insertions(+), 5 deletions(-) diff --git a/hw/dma/puv3_dma.c b/hw/dma/puv3_dma.c index 101bd7f..b97a6c1 100644 --- a/hw/dma/puv3_dma.c +++ b/hw/dma/puv3_dma.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" diff --git a/hw/gpio/puv3_gpio.c b/hw/gpio/puv3_gpio.c index 39840aa..445afcc 100644 --- a/hw/gpio/puv3_gpio.c +++ b/hw/gpio/puv3_gpio.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" diff --git a/hw/intc/puv3_intc.c b/hw/intc/puv3_intc.c index c2803d0..ef8488a 100644 --- a/hw/intc/puv3_intc.c +++ b/hw/intc/puv3_intc.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #undef DEBUG_PUV3 diff --git a/hw/misc/puv3_pm.c b/hw/misc/puv3_pm.c index 37f2369..577ceba 100644 --- a/hw/misc/puv3_pm.c +++ b/hw/misc/puv3_pm.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" diff --git a/hw/timer/puv3_ost.c b/hw/timer/puv3_ost.c index fa9eefd..93650b7 100644 --- a/hw/timer/puv3_ost.c +++ b/hw/timer/puv3_ost.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/ptimer.h" #include "qemu/main-loop.h" diff --git a/hw/unicore32/puv3.c b/hw/unicore32/puv3.c index 1968202..4522fa2 100644 --- a/hw/unicore32/puv3.c +++ b/hw/unicore32/puv3.c @@ -9,6 +9,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "ui/console.h" #include "elf.h" diff --git a/target-unicore32/cpu.c b/target-unicore32/cpu.c index e5252eb..c92ccc4 100644 --- a/target-unicore32/cpu.c +++ b/target-unicore32/cpu.c @@ -12,6 +12,7 @@ * or (at your option) any later version. */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu-common.h" #include "migration/vmstate.h" diff --git a/target-unicore32/helper.c b/target-unicore32/helper.c index ae63277..21f5f35 100644 --- a/target-unicore32/helper.c +++ b/target-unicore32/helper.c @@ -9,6 +9,7 @@ * or (at your option) any later version. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/gdbstub.h" #include "exec/helper-proto.h" diff --git a/target-unicore32/op_helper.c b/target-unicore32/op_helper.c index 0266dbd..f584730 100644 --- a/target-unicore32/op_helper.c +++ b/target-unicore32/op_helper.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" diff --git a/target-unicore32/softmmu.c b/target-unicore32/softmmu.c index 9a3786d..d267fed 100644 --- a/target-unicore32/softmmu.c +++ b/target-unicore32/softmmu.c @@ -12,6 +12,7 @@ #error This file only exist under softmmu circumstance #endif +#include "qemu/osdep.h" #include #undef DEBUG_UC32 diff --git a/target-unicore32/translate.c b/target-unicore32/translate.c index d2f92f0..5db8f94 100644 --- a/target-unicore32/translate.c +++ b/target-unicore32/translate.c @@ -8,11 +8,7 @@ * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ -#include -#include -#include -#include -#include +#include "qemu/osdep.h" #include "cpu.h" #include "disas/disas.h" diff --git a/target-unicore32/ucf64_helper.c b/target-unicore32/ucf64_helper.c index 5af008f..6c91901 100644 --- a/target-unicore32/ucf64_helper.c +++ b/target-unicore32/ucf64_helper.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h"