From patchwork Wed Oct 31 18:13:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 149849 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7126566ljp; Wed, 31 Oct 2018 11:15:35 -0700 (PDT) X-Google-Smtp-Source: AJdET5cmBwZihtSG75XP69Km2ql0PtTbRXpMoLCWAIC7F/3vpqR+VHZX6yJbT3pB9VbWK9YrzaSz X-Received: by 2002:a25:9c85:: with SMTP id y5-v6mr4150031ybo.367.1541009735137; Wed, 31 Oct 2018 11:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541009735; cv=none; d=google.com; s=arc-20160816; b=yP318qQGNQBip635d3wa/lOWB0Vozhr5orh9+Av+sss4iapEcewmOmY5mUu7pAty6S qE18HqctCgnyiOHuQteEQl35ASCiiGNscnSdEfATAwnRH9BjSuvJkArNu5Qt91E6hynD s5Fs3YA5WJYaotNd9YwAaQnWjYj1wOQmddwequF5jdkqtdZ+uJ7Xu7689Tti84+IPyxK AwioR8kc69jNEwjVzeR2rGujZA8ersByoMFSoG0VfRll8wYEsIOu5N3tLtoMdf2oTu1P JY9y1FAYg5LnLEz1SM0FDB7dOgcWXcP+zXFlAdwlXHiFT6XsBm4kgX4J7Feyf6dX9XR3 rMUg== 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=9fejFjzSBCGgrrnJOdh6hn06EOmRaBoRtQWZ0YvrwT4=; b=JIMba9JqWp+B0uK/xJBXi5cDih8efECI1nuqmUpC52FNbz7Eo5d2WcfVvaGsro5df/ +tdTS1PfrqGGKd7S2KMQAiD6bRUxgMfGd/CAVGR4EqlGuNnnn3MHhf+KUh4j9fFm+Tmo cQbbL1+SHF6A4+Qubrx7usdIQahRhi7oVVSlNvCQF+ZElfiXwKRyt1Pql85Yg5XwYzMh PydD7JQ2ymUF+eC0dopZRSAiDQDyG28Vj4uAvCPWPtXKN7mKLmVQ7RRjwYSFk6O5OyWJ +uAri62gQofzyQg6u+m4AgsmEqye715CKgjgdJ+2aV2702Dx4gCWjD0aM5uGHghqs1vg jbhg== 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 6-v6si4956767ybt.101.2018.10.31.11.15.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Oct 2018 11:15:35 -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 1gHuzq-0004Wc-Pz; Wed, 31 Oct 2018 18:13:38 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1gHuzp-0004TP-5C for xen-devel@lists.xen.org; Wed, 31 Oct 2018 18:13:37 +0000 X-Inumbo-ID: aee3f88c-dd38-11e8-87d6-bc764e045a96 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTP id aee3f88c-dd38-11e8-87d6-bc764e045a96; Wed, 31 Oct 2018 18:13:35 +0000 (UTC) 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 71A3D80D; Wed, 31 Oct 2018 11:13:35 -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 865FF3F6A8; Wed, 31 Oct 2018 11:13:34 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Wed, 31 Oct 2018 18:13:05 +0000 Message-Id: <20181031181313.8028-14-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181031181313.8028-1-julien.grall@arm.com> References: <20181031181313.8028-1-julien.grall@arm.com> Subject: [Xen-devel] [PATCH v2 13/21] 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, andrii_anisov@epam.com MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Signed-off-by: Julien Grall Reviewed-by: Andrii Anisov --- Changes in v2: - Add Andrii's reviewed-by --- 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 */