From patchwork Tue Jan 26 18:17:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8126301 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CCC6A9F6DA for ; Tue, 26 Jan 2016 18:36:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CE78C202E5 for ; Tue, 26 Jan 2016 18:36:42 +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 9CADB20266 for ; Tue, 26 Jan 2016 18:36:41 +0000 (UTC) Received: from localhost ([::1]:46065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8Tp-0007OZ-2s for patchwork-qemu-devel@patchwork.kernel.org; Tue, 26 Jan 2016 13:36:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BV-0006UN-1y for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO8BR-0007cB-LM for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:44 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BR-0007bp-98 for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:41 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1aO8BI-0000F2-04; Tue, 26 Jan 2016 18:17:32 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 26 Jan 2016 18:17:22 +0000 Message-Id: <1453832250-766-30-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 29/37] openrisc: 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/openrisc/cputimer.c | 1 + hw/openrisc/openrisc_sim.c | 1 + hw/openrisc/pic_cpu.c | 1 + target-openrisc/cpu.c | 1 + target-openrisc/exception.c | 1 + target-openrisc/exception_helper.c | 1 + target-openrisc/fpu_helper.c | 1 + target-openrisc/gdbstub.c | 2 +- target-openrisc/int_helper.c | 1 + target-openrisc/interrupt.c | 1 + target-openrisc/interrupt_helper.c | 1 + target-openrisc/machine.c | 1 + target-openrisc/mmu.c | 1 + target-openrisc/mmu_helper.c | 1 + target-openrisc/sys_helper.c | 1 + target-openrisc/translate.c | 2 +- 16 files changed, 16 insertions(+), 2 deletions(-) diff --git a/hw/openrisc/cputimer.c b/hw/openrisc/cputimer.c index 560cb91..a98c799 100644 --- a/hw/openrisc/cputimer.c +++ b/hw/openrisc/cputimer.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "hw/hw.h" #include "qemu/timer.h" diff --git a/hw/openrisc/openrisc_sim.c b/hw/openrisc/openrisc_sim.c index be6c9b5..25c637a 100644 --- a/hw/openrisc/openrisc_sim.c +++ b/hw/openrisc/openrisc_sim.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/boards.h" #include "elf.h" diff --git a/hw/openrisc/pic_cpu.c b/hw/openrisc/pic_cpu.c index 2af1d60..569b443 100644 --- a/hw/openrisc/pic_cpu.c +++ b/hw/openrisc/pic_cpu.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "cpu.h" diff --git a/target-openrisc/cpu.c b/target-openrisc/cpu.c index cc5e2d1..cafc07f 100644 --- a/target-openrisc/cpu.c +++ b/target-openrisc/cpu.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu-common.h" diff --git a/target-openrisc/exception.c b/target-openrisc/exception.c index 74652a58..ace3184 100644 --- a/target-openrisc/exception.c +++ b/target-openrisc/exception.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exception.h" diff --git a/target-openrisc/exception_helper.c b/target-openrisc/exception_helper.c index 6093953..329a9e4 100644 --- a/target-openrisc/exception_helper.c +++ b/target-openrisc/exception_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exception.h" diff --git a/target-openrisc/fpu_helper.c b/target-openrisc/fpu_helper.c index c94ed35..c54404b 100644 --- a/target-openrisc/fpu_helper.c +++ b/target-openrisc/fpu_helper.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exception.h" diff --git a/target-openrisc/gdbstub.c b/target-openrisc/gdbstub.c index 18bcc46..edc301a 100644 --- a/target-openrisc/gdbstub.c +++ b/target-openrisc/gdbstub.c @@ -17,7 +17,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ -#include "config.h" +#include "qemu/osdep.h" #include "qemu-common.h" #include "exec/gdbstub.h" diff --git a/target-openrisc/int_helper.c b/target-openrisc/int_helper.c index 6e27aeb..4d1f958 100644 --- a/target-openrisc/int_helper.c +++ b/target-openrisc/int_helper.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exception.h" diff --git a/target-openrisc/interrupt.c b/target-openrisc/interrupt.c index e480cfd..963eb14 100644 --- a/target-openrisc/interrupt.c +++ b/target-openrisc/interrupt.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu-common.h" #include "exec/gdbstub.h" diff --git a/target-openrisc/interrupt_helper.c b/target-openrisc/interrupt_helper.c index 55a780c..11b4b20 100644 --- a/target-openrisc/interrupt_helper.c +++ b/target-openrisc/interrupt_helper.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target-openrisc/machine.c b/target-openrisc/machine.c index 9f66a9c..b4dc08d 100644 --- a/target-openrisc/machine.c +++ b/target-openrisc/machine.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/boards.h" diff --git a/target-openrisc/mmu.c b/target-openrisc/mmu.c index 750a936..4ab414a 100644 --- a/target-openrisc/mmu.c +++ b/target-openrisc/mmu.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu-common.h" #include "exec/gdbstub.h" diff --git a/target-openrisc/mmu_helper.c b/target-openrisc/mmu_helper.c index ee1c6f6..d7952d4 100644 --- a/target-openrisc/mmu_helper.c +++ b/target-openrisc/mmu_helper.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/cpu_ldst.h" diff --git a/target-openrisc/sys_helper.c b/target-openrisc/sys_helper.c index 53ca6bc..f917be6 100644 --- a/target-openrisc/sys_helper.c +++ b/target-openrisc/sys_helper.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target-openrisc/translate.c b/target-openrisc/translate.c index 606490a..62890c2 100644 --- a/target-openrisc/translate.c +++ b/target-openrisc/translate.c @@ -18,13 +18,13 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" #include "disas/disas.h" #include "tcg-op.h" #include "qemu-common.h" #include "qemu/log.h" -#include "config.h" #include "qemu/bitops.h" #include "exec/cpu_ldst.h"