From patchwork Thu Oct 18 13:21:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 149138 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp1972822lji; Thu, 18 Oct 2018 06:23:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV61ROd4/rwYI3Qq4Ot+pdNR9jLwXd7UdGQGQ+7UQ4qan510wb1sIAZ/xMGrGMYH7SmC/oHn9 X-Received: by 2002:a81:8945:: with SMTP id z66-v6mr19227614ywf.296.1539869012654; Thu, 18 Oct 2018 06:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539869012; cv=none; d=google.com; s=arc-20160816; b=I1tfvsPgdnxBYhJpdP+CzsOGwMRTfF7snS50rTY/cmkY1XdX7AflgKlV4jKQZrvjuY 4gXkPIYK3CLrmP9bmTTBKNclOs5heYcjHZsOLmj0AFwDztmXwpC7MKzHmUsyPXp4RqCi NstPqP+R6sSuvDzTw1mxuLROVAp+4VI9+FbxAd2137kxGQXhPDoscqfsdUn3SgLv55wd xk6aZeV7zpKwKXbyPnEstGx2HZIC3ly9aKl8STYV6A6pt3TdJOgZiNvPPMjylZlLsYNw bHdh+d+KB7ugyNS4bVvh3hU5mod4TGm5XgdeXKu3F0WVobNVwikpKhvYpqcpkNiCps3Z YqRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:references:in-reply-to:message-id:date:to:from; bh=Z6UOzpXax6y40EWTbnRIsJ5zz8YeSnBX0vknxeyXGck=; b=JoMkQOMv2sEhy1fhbTO+I+tAWRNHrV3UgFRfZQ2weu3BQJcfTWngkIkOTxxAhlFPOI dvMqNyVXiua7tutm4A/gdQDWufHpvnPDPSMCyHWas01WLEA7I3fkeufSgPn0cE9NtsV3 3U1eid/LBtC1B+GdRAqUs/XJm/4lzRrvBmmzxr2Vq2TSnp40pGmToazcwf4nVc7MN+Wi wfAR9gUc/0VAJy3G1czsWCoKNTKAE2pIav1NzRxe+hsnbhI74Fe1QQBxwHcFDd28LXJu oegfttsfHbq8qcNgRtHr26fCbif/eDpuVZp00+o6tzfVwyEDs20ffaQFLxhXJo3hoxy9 eaPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id x1-v6si8207513ywg.307.2018.10.18.06.23.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Oct 2018 06:23:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1gD8F2-000385-VL; Thu, 18 Oct 2018 13:21:32 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1gD8F1-00036l-OK for xen-devel@lists.xen.org; Thu, 18 Oct 2018 13:21:31 +0000 X-Inumbo-ID: 565643d8-d2d8-11e8-a8a5-bc764e045a96 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTP id 565643d8-d2d8-11e8-a8a5-bc764e045a96; Thu, 18 Oct 2018 15:18:43 +0200 (CEST) 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 94A21341; Thu, 18 Oct 2018 06:21:30 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CCD5C3F59C; Thu, 18 Oct 2018 06:21:29 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Thu, 18 Oct 2018 14:21:00 +0100 Message-Id: <20181018132109.31192-14-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181018132109.31192-1-julien.grall@arm.com> References: <20181018132109.31192-1-julien.grall@arm.com> Subject: [Xen-devel] [PATCH 13/22] xen/arm: Only include vreg.h when necessary X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Julien Grall , sstabellini@kernel.org MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Signed-off-by: Julien Grall Reviewed-by: Andrii Anisov --- xen/arch/arm/vgic-v2.c | 1 + xen/arch/arm/vgic-v3-its.c | 1 + xen/arch/arm/vpl011.c | 1 + xen/include/asm-arm/vgic.h | 1 - xen/include/asm-arm/vpl011.h | 1 - 5 files changed, 3 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/vgic-v2.c b/xen/arch/arm/vgic-v2.c index f6c11f1e41..8526f9be04 100644 --- a/xen/arch/arm/vgic-v2.c +++ b/xen/arch/arm/vgic-v2.c @@ -31,6 +31,7 @@ #include #include #include +#include static struct { bool enabled; diff --git a/xen/arch/arm/vgic-v3-its.c b/xen/arch/arm/vgic-v3-its.c index 9edd97c4e7..5b73c4ecd7 100644 --- a/xen/arch/arm/vgic-v3-its.c +++ b/xen/arch/arm/vgic-v3-its.c @@ -45,6 +45,7 @@ #include #include #include +#include /* * Data structure to describe a virtual ITS. diff --git a/xen/arch/arm/vpl011.c b/xen/arch/arm/vpl011.c index a281eabd7e..117e41c760 100644 --- a/xen/arch/arm/vpl011.c +++ b/xen/arch/arm/vpl011.c @@ -33,6 +33,7 @@ #include #include #include +#include /* * Since pl011 registers are 32-bit registers, all registers diff --git a/xen/include/asm-arm/vgic.h b/xen/include/asm-arm/vgic.h index 374fdaa40d..760392f9ef 100644 --- a/xen/include/asm-arm/vgic.h +++ b/xen/include/asm-arm/vgic.h @@ -27,7 +27,6 @@ #include #include #include -#include struct pending_irq { diff --git a/xen/include/asm-arm/vpl011.h b/xen/include/asm-arm/vpl011.h index db95ff822f..a82869a53c 100644 --- a/xen/include/asm-arm/vpl011.h +++ b/xen/include/asm-arm/vpl011.h @@ -21,7 +21,6 @@ #include #include -#include #include /* helper macros */