From patchwork Thu Oct 19 12:48:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 10016641 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0581460224 for ; Thu, 19 Oct 2017 12:51:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DAD6528D26 for ; Thu, 19 Oct 2017 12:51:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CF3FE28D43; Thu, 19 Oct 2017 12:51:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 55F2628D26 for ; Thu, 19 Oct 2017 12:51:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5AG2-0004QC-Jd; Thu, 19 Oct 2017 12:49:06 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5AG1-0004Pp-Kd for xen-devel@lists.xenproject.org; Thu, 19 Oct 2017 12:49:05 +0000 Received: from [193.109.254.147] by server-8.bemta-6.messagelabs.com id 2B/D1-13910-04F98E95; Thu, 19 Oct 2017 12:49:04 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJLMWRWlGSWpSXmKPExsVysyfVTddh/ot Ig0eHxSy+b5nM5MDocfjDFZYAxijWzLyk/IoE1owdx0+yF2yVrri+s4mlgfGgeBcjF4eQwGZG iT9v+tkhnOWMEu0TrrN2MXJysAnoSuy4+ZoZxBYRiJA4/fgSE4jNLKAksf/sNUYQW1jARuLS6 mtsIDaLgKrEmoWrwep5BawkprU1gtkSAvIS5x7cBrM5Bawlbu+9AdYrBFSz7eE7xgmM3AsYGV YxahSnFpWlFukaG+klFWWmZ5TkJmbm6BoamOnlphYXJ6an5iQmFesl5+duYgR6mAEIdjCeXhd 4iFGSg0lJlPdj1YtIIb6k/JTKjMTijPii0pzU4kOMMhwcShK8h+cC5QSLUtNTK9Iyc4ChBpOW 4OBREuGNBknzFhck5hZnpkOkTjEacxzbdPkPE0fHzbt/mIRY8vLzUqXEeWPmAZUKgJRmlObBD YLFwCVGWSlhXkag04R4ClKLcjNLUOVfMYpzMCoJ88aBTOHJzCuB2/cK6BQmoFPY7cFOKUlESE k1MNrvz56z2/kx4wbh+V7Kq/tTpFwC7nA6bbNwyUlIrfeeZn34zRHbFHH3z571cmv3rZjS56L f7Mr7KyPz9EYHtiZtn0e/7n1dsb/EQD4v//jDBLamV1FXw3IlTkhlpW7jipeREdBdOeF94tat xRN3iG6U+X/erTN/tchj3XDnKSHT/7Ym+cq1KrEUZyQaajEXFScCANtx2ZF8AgAA X-Env-Sender: andre.przywara@arm.com X-Msg-Ref: server-14.tower-27.messagelabs.com!1508417343!99996054!1 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 50957 invoked from network); 19 Oct 2017 12:49:04 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-14.tower-27.messagelabs.com with SMTP; 19 Oct 2017 12:49:04 -0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 99C351596; Thu, 19 Oct 2017 05:49:03 -0700 (PDT) Received: from e104803-lin.lan (unknown [10.1.207.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id AE1763F3E1; Thu, 19 Oct 2017 05:49:02 -0700 (PDT) From: Andre Przywara To: Julien Grall , Stefano Stabellini Date: Thu, 19 Oct 2017 13:48:36 +0100 Message-Id: <20171019124847.5978-2-andre.przywara@arm.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171019124847.5978-1-andre.przywara@arm.com> References: <20171019124847.5978-1-andre.przywara@arm.com> Cc: xen-devel@lists.xenproject.org Subject: [Xen-devel] [PATCH 01/12] ARM: remove unneeded gic.h inclusions X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP gic.h is supposed to hold defines and prototypes for the hardware side of the GIC interrupt controller. A lot of parts in Xen should not be bothered with that, as they either only care about the VGIC or use more generic interfaces. Remove unneeded inclusions of gic.h from files where they are actually not needed. Signed-off-by: Andre Przywara Reviewed-by: Stefano Stabellini --- xen/arch/arm/domain_build.c | 1 - xen/arch/arm/p2m.c | 1 - xen/arch/arm/platforms/vexpress.c | 1 - xen/arch/arm/platforms/xgene-storm.c | 1 - xen/arch/arm/time.c | 1 - xen/arch/arm/traps.c | 1 - xen/arch/arm/vpsci.c | 1 - xen/arch/arm/vtimer.c | 1 - 8 files changed, 8 deletions(-) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index bf29299707..e7899fbf19 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -21,7 +21,6 @@ #include #include -#include #include #include #include "kernel.h" diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c index 68b488997d..07f5cc4468 100644 --- a/xen/arch/arm/p2m.c +++ b/xen/arch/arm/p2m.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/xen/arch/arm/platforms/vexpress.c b/xen/arch/arm/platforms/vexpress.c index 39b6bcc70e..70839d676f 100644 --- a/xen/arch/arm/platforms/vexpress.c +++ b/xen/arch/arm/platforms/vexpress.c @@ -22,7 +22,6 @@ #include #include #include -#include #define DCC_SHIFT 26 #define FUNCTION_SHIFT 20 diff --git a/xen/arch/arm/platforms/xgene-storm.c b/xen/arch/arm/platforms/xgene-storm.c index 3b007fe5ed..deb8479a49 100644 --- a/xen/arch/arm/platforms/xgene-storm.c +++ b/xen/arch/arm/platforms/xgene-storm.c @@ -22,7 +22,6 @@ #include #include #include -#include /* XGENE RESET Specific defines */ #define XGENE_RESET_ADDR 0x17000014UL diff --git a/xen/arch/arm/time.c b/xen/arch/arm/time.c index 105c7410c7..36f640f0c1 100644 --- a/xen/arch/arm/time.c +++ b/xen/arch/arm/time.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c index f6f6de3691..ff3d6ff2aa 100644 --- a/xen/arch/arm/traps.c +++ b/xen/arch/arm/traps.c @@ -43,7 +43,6 @@ #include #include #include -#include #include #include #include diff --git a/xen/arch/arm/vpsci.c b/xen/arch/arm/vpsci.c index 0e024f7578..cd724904ef 100644 --- a/xen/arch/arm/vpsci.c +++ b/xen/arch/arm/vpsci.c @@ -15,7 +15,6 @@ #include #include -#include #include #include #include diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c index 3f84893a74..f52a723a5f 100644 --- a/xen/arch/arm/vtimer.c +++ b/xen/arch/arm/vtimer.c @@ -24,7 +24,6 @@ #include #include -#include #include #include #include