Message ID | 20170913175953.16942-2-julien.grall@arm.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1226464qgf; Wed, 13 Sep 2017 11:02:17 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBPIgYKNtUFMGP8GURy4BRKx92pnszl+fvszX+Dp0SZPwlChqGaAd/bI/+PhLw0qMhGJzxf X-Received: by 10.107.17.39 with SMTP id z39mr26262945ioi.170.1505325737253; Wed, 13 Sep 2017 11:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505325737; cv=none; d=google.com; s=arc-20160816; b=QZ6Pjnvjk97YtbW0EKUn6PFATat5VD5drNBteTHfsmUkEPF/KDNiHu3Ffk8zjVEtXP x0zdtbhXT9/2QLUBxJR4MbMg4hbDe9fGfWPaZb7/7Ua5bcKf+MC6cTOnOg1HBTiWRffi lUhWuMYBUjG0zAcZarZtQLi3YVLyHObtaT1Fd5PG7slDu7tw27Oi1I+Hpwli6vIcVzXL 9STBi6VoNQe+OfBEUqhiiLJjn3veQomMOgXQK5CCJELCzpiNcfgD41PzLo4sSs+TTH0A jQKpr/PKP+xLMPZvXTIyTVox1ZVPm9HrJ3WJARfRmphetuI/Uvzm2L9vktecNGJknLBb XcFg== 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 :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:cc:references:in-reply-to:message-id:date:to :from:arc-authentication-results; bh=oX5kWVT0McM/qR194u8e1d0l+vzZnvnLf8Yl9xn91r8=; b=cBXDRw/OrOCyV+u7Ow/RdWcI308WBfqZohcMh24f3oHKVLMikxJyXIM2KdLOh5faaE 2r4TdgrHOYLcNYy+Q7qo5ogXS8LyA0l++PrfHzL9nIOVOewcrwesK2VS5zHuzGUgev0A +n8gqgKKe771Ud54V2qNWNfcQqNARaHxSvbtcF0efwYihW0rxUTi8wCqtWyW4EHhN0IA v5VjF/Dcw0W9Z4lSmfXdk+gRj5Z0tS3U1ghCO/yD4BNZ6jKEmUmFV6vtaUx7rVYm0aUb b6pxx1YSeDH0MSibX/8FghRGVp2lA1SRdj5FXFauIhtNF20NyCXwba3t91ufadkTWVEj Rq5A== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Return-Path: <xen-devel-bounces@lists.xen.org> Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id p74si1781034ita.205.2017.09.13.11.02.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Sep 2017 11:02:17 -0700 (PDT) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1dsBxF-0007mi-VG; Wed, 13 Sep 2017 18:00:05 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <julien.grall@arm.com>) id 1dsBxE-0007XZ-4Z for xen-devel@lists.xen.org; Wed, 13 Sep 2017 18:00:04 +0000 Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id FD/43-02224-32279B95; Wed, 13 Sep 2017 18:00:03 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOLMWRWlGSWpSXmKPExsVysyfVTVepaGe kwZuLehZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa0bX33XMBTc4Kk5c7WZvYLzC3sXIySEksJlR 4tqvoC5GLiD7NKPEo7WPGUESbAKaEnc+f2ICsUUEpCWufb7MCFLELLCYUeLz/l5mkISwgJXEi b+zWUFsFgFVidvrF4HFeQUsJS4fu8ECYksIyEvsarsIVsMJVD/z6wKgoRxA2ywlTvdETWDkXs DIsIpRvTi1qCy1SNdQL6koMz2jJDcxM0fX0MBYLze1uDgxPTUnMalYLzk/dxMj0LsMQLCDcfl Hp0OMkhxMSqK8e3V3RgrxJeWnVGYkFmfEF5XmpBYfYpTh4FCS4JUoBMoJFqWmp1akZeYAwwwm LcHBoyTC+7YAKM1bXJCYW5yZDpE6xWjMcWDClT9MHB037/5hEmLJy89LlRLnXQ9SKgBSmlGaB zcIFv6XGGWlhHkZgU4T4ilILcrNLEGVf8UozsGoJMy7FWQKT2ZeCdy+V0CnMAGdcub0DpBTSh IRUlINjD473U/Lftxw5ewB3kM3+n4Vulp5xW++bpJcm3s6NNzs/ML9TAa9d+/MTg9NuvR8Qr0 Vf8yf2P0z1E6f7ewICkqZ/OPA1Lk5PTciVvx/GVt8SYHV9mnybmGBTonGeyLRT+4VvVE/tIbd XOP2JP6LH7o1BFe4WGtcPS98UoJ5qtST+wIVIbKrryixFGckGmoxFxUnAgCcLIeNegIAAA== X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-12.tower-31.messagelabs.com!1505325602!97847565!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 37533 invoked from network); 13 Sep 2017 18:00:02 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-12.tower-31.messagelabs.com with SMTP; 13 Sep 2017 18:00:02 -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 020F21529; Wed, 13 Sep 2017 11:00:02 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.206.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E46153F483; Wed, 13 Sep 2017 11:00:00 -0700 (PDT) From: Julien Grall <julien.grall@arm.com> To: xen-devel@lists.xen.org Date: Wed, 13 Sep 2017 18:59:39 +0100 Message-Id: <20170913175953.16942-2-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170913175953.16942-1-julien.grall@arm.com> References: <20170913175953.16942-1-julien.grall@arm.com> Cc: George Dunlap <george.dunlap@eu.citrix.com>, Andrew Cooper <andrew.cooper3@citrix.com>, Julien Grall <julien.grall@arm.com>, Jan Beulich <jbeulich@suse.com> Subject: [Xen-devel] [PATCH 01/15] xen/x86: p2m-pod: Clean-up includes X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> |
Series |
xen/x86: Clean-up the PoD code
|
expand
|
diff --git a/xen/arch/x86/mm/p2m-pod.c b/xen/arch/x86/mm/p2m-pod.c index 4085b7f752..fec87e5224 100644 --- a/xen/arch/x86/mm/p2m-pod.c +++ b/xen/arch/x86/mm/p2m-pod.c @@ -19,18 +19,13 @@ * along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#include <xen/iommu.h> -#include <xen/vm_event.h> #include <xen/event.h> -#include <public/vm_event.h> -#include <asm/domain.h> +#include <xen/mm.h> +#include <xen/sched.h> +#include <xen/trace.h> #include <asm/page.h> #include <asm/paging.h> #include <asm/p2m.h> -#include <asm/hvm/vmx/vmx.h> /* ept_p2m_init() */ -#include <asm/mem_sharing.h> -#include <asm/hvm/nestedhvm.h> -#include <asm/hvm/svm/amd-iommu-proto.h> #include "mm-locks.h"
A lot of the headers are not necessary. At the same time, order them in the alphabetical order. Signed-off-by: Julien Grall <julien.grall@arm.com> --- Cc: George Dunlap <george.dunlap@eu.citrix.com> Cc: Jan Beulich <jbeulich@suse.com> Cc: Andrew Cooper <andrew.cooper3@citrix.com> --- xen/arch/x86/mm/p2m-pod.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)