From patchwork Tue Jan 26 18:17:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8126071 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 6FCFF9F6DA for ; Tue, 26 Jan 2016 18:31:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2572C202E6 for ; Tue, 26 Jan 2016 18:31:11 +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 B122420256 for ; Tue, 26 Jan 2016 18:31:09 +0000 (UTC) Received: from localhost ([::1]:45988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8OT-0006hL-28 for patchwork-qemu-devel@patchwork.kernel.org; Tue, 26 Jan 2016 13:31:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BT-0006SB-W0 for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO8BR-0007bi-2Y for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:43 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BQ-0007X4-N9 for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:40 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1aO8BH-0000DW-6X; Tue, 26 Jan 2016 18:17:31 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 26 Jan 2016 18:17:04 +0000 Message-Id: <1453832250-766-12-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 11/37] alpha: 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 Acked-by: Richard Henderson --- disas/alpha.c | 2 +- hw/alpha/dp264.c | 1 + hw/alpha/pci.c | 2 +- hw/alpha/typhoon.c | 1 + target-alpha/cpu.c | 1 + target-alpha/fpu_helper.c | 1 + target-alpha/gdbstub.c | 2 +- target-alpha/helper.c | 4 +--- target-alpha/int_helper.c | 1 + target-alpha/machine.c | 1 + target-alpha/mem_helper.c | 1 + target-alpha/sys_helper.c | 1 + target-alpha/translate.c | 1 + target-alpha/vax_helper.c | 1 + 14 files changed, 14 insertions(+), 6 deletions(-) diff --git a/disas/alpha.c b/disas/alpha.c index a950b9c..44d00a3 100644 --- a/disas/alpha.c +++ b/disas/alpha.c @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, see . */ -#include +#include "qemu/osdep.h" #include "disas/bfd.h" /* MAX is redefined below, so remove any previous definition. */ diff --git a/hw/alpha/dp264.c b/hw/alpha/dp264.c index 38b85ba..992d1b2 100644 --- a/hw/alpha/dp264.c +++ b/hw/alpha/dp264.c @@ -6,6 +6,7 @@ * that we need to emulate as well. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "elf.h" #include "hw/loader.h" diff --git a/hw/alpha/pci.c b/hw/alpha/pci.c index 5226e43..fb902bb 100644 --- a/hw/alpha/pci.c +++ b/hw/alpha/pci.c @@ -6,7 +6,7 @@ * ??? Sparse memory access not implemented. */ -#include "config.h" +#include "qemu/osdep.h" #include "alpha_sys.h" #include "qemu/log.h" #include "sysemu/sysemu.h" diff --git a/hw/alpha/typhoon.c b/hw/alpha/typhoon.c index 35dc8a5..b86ff5e 100644 --- a/hw/alpha/typhoon.c +++ b/hw/alpha/typhoon.c @@ -6,6 +6,7 @@ * This work is licensed under the GNU GPL license version 2 or later. */ +#include "qemu/osdep.h" #include "cpu.h" #include "hw/hw.h" #include "hw/devices.h" diff --git a/target-alpha/cpu.c b/target-alpha/cpu.c index e5bdfa8..2eab060 100644 --- a/target-alpha/cpu.c +++ b/target-alpha/cpu.c @@ -19,6 +19,7 @@ * */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu-common.h" #include "migration/vmstate.h" diff --git a/target-alpha/fpu_helper.c b/target-alpha/fpu_helper.c index 0c65e1f..5ab7d5e 100644 --- a/target-alpha/fpu_helper.c +++ b/target-alpha/fpu_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 "fpu/softfloat.h" diff --git a/target-alpha/gdbstub.c b/target-alpha/gdbstub.c index 99a4051..199f028 100644 --- a/target-alpha/gdbstub.c +++ b/target-alpha/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-alpha/helper.c b/target-alpha/helper.c index 5a85335..6dec263 100644 --- a/target-alpha/helper.c +++ b/target-alpha/helper.c @@ -17,9 +17,7 @@ * License along with this library; if not, see . */ -#include -#include -#include +#include "qemu/osdep.h" #include "cpu.h" #include "fpu/softfloat.h" diff --git a/target-alpha/int_helper.c b/target-alpha/int_helper.c index d7f4774..777e48d 100644 --- a/target-alpha/int_helper.c +++ b/target-alpha/int_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 "qemu/host-utils.h" diff --git a/target-alpha/machine.c b/target-alpha/machine.c index d9bf977..9ab0928 100644 --- a/target-alpha/machine.c +++ b/target-alpha/machine.c @@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/boards.h" diff --git a/target-alpha/mem_helper.c b/target-alpha/mem_helper.c index c9258f5..7fee9a6 100644 --- a/target-alpha/mem_helper.c +++ b/target-alpha/mem_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 "exec/cpu_ldst.h" diff --git a/target-alpha/sys_helper.c b/target-alpha/sys_helper.c index 75c96c1..e2dec15 100644 --- a/target-alpha/sys_helper.c +++ b/target-alpha/sys_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 "sysemu/sysemu.h" diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 9909c70..7d419d9 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "disas/disas.h" #include "qemu/host-utils.h" diff --git a/target-alpha/vax_helper.c b/target-alpha/vax_helper.c index 2e2f499..e74ac3e 100644 --- a/target-alpha/vax_helper.c +++ b/target-alpha/vax_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 "fpu/softfloat.h"