From patchwork Tue Sep 12 10:36:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 112293 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp4986371qgf; Tue, 12 Sep 2017 03:38:46 -0700 (PDT) X-Google-Smtp-Source: AOwi7QB78z9AfdRwQkD7MxZvtnzHVMs1xpim+ApuZ4uYJgTYocnBgas5nPejwYZf+ErooaRKZrux X-Received: by 10.36.0.215 with SMTP id 206mr342763ita.84.1505212726326; Tue, 12 Sep 2017 03:38:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505212726; cv=none; d=google.com; s=arc-20160816; b=g9ur1YCObHQd3gFtSvMiDy2HHwOB1TF48JFhBXk5GjQU2PrTCTesTTImg9wVERPd5B 65WphraLZZrXEMpMSOQxF6Hfsev5ALzYgz1fqqrakREDRqbB5Db5uuAiZWmWovsXnW81 +4hfM9g33ycmLPSlrpq6OXQva2iKgwcFJyXPE6XnD1g0DQlMOaZ5xEQzYcaU/+mkHWDR SOpT1bo0D0x9UEmOXln8ON6cshvm1q7ZcfSX3uXU83rks7HyWUzODviiZ1mP4ihxbdtp SV2c84lbDuZFiox63IxV9ztwYo9vtUgtao0NOkg4HW6ZpGFLES3fYmGK6SWAjFa7sSyz 6TPQ== 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=o2KO/3UMgWsSBKtx9mMPDaGNNkkfZw1EglGKD49h0rc=; b=WTVoKLVMIAp8qdoeeODDja1Tkg8Vq7O6Hatxivu2/ue4U4xhi8damK3ZawOVo/GQ6l OQYc4c8BjoA7USWxGeXn74TqfFPjxx+lPx/X8WOSf2V/kfHPxt5jGsBnFPMQWBU9RH2E IGsWuCw/t5UfKHw8Xxcv6G7qolDoVV5h9IeGXHvPHl3ymD2Zz8wcagUMynRKtWUVjJiF qkz1VQw85fZaKqQ77J99qhJPoJoiwWn4HDhz5A4RCejumVwh1VjRMyWldXAsm30fUgpI 6Cy6uVShtLlGbEeQ//o4CGQG/UbWbbAMm8hxbPmmam2DFA/dkxffDaTptIZkPQca+ErW ZtEA== 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: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id i140si541459itb.186.2017.09.12.03.38.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2017 03:38:46 -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 ) id 1driYU-0001O7-Ta; Tue, 12 Sep 2017 10:36:34 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1driYT-0001NV-Jg for xen-devel@lists.xen.org; Tue, 12 Sep 2017 10:36:33 +0000 Received: from [193.109.254.147] by server-1.bemta-6.messagelabs.com id 18/35-03414-0B8B7B95; Tue, 12 Sep 2017 10:36:32 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrILMWRWlGSWpSXmKPExsVysyfVTXfDju2 RBu+2iVgs+biYxYHR4+ju30wBjFGsmXlJ+RUJrBk/D15lKXjFVfHs/GKWBsZJnF2MXBxCApsZ Jfr+bGCDcE4zSqza2cTaxcjJwSagKXHn8ycmEFtEQFri2ufLjCA2s0CcxPtFjSwgtrBAsMTiz qVgcRYBVYmLO3+A1fMKWEpsXr2AHcSWEJCX2NV2EWwmp4CVxKJXC4B6OYCWWUpc2iw5gZF7AS PDKkb14tSistQiXTO9pKLM9IyS3MTMHF1DAzO93NTi4sT01JzEpGK95PzcTYxA7zIAwQ7GeSf 8DzFKcjApifIeWb89UogvKT+lMiOxOCO+qDQntfgQowwHh5IE78ntQDnBotT01Iq0zBxgmMGk JTh4lER4z4GkeYsLEnOLM9MhUqcYdTk6bt79wyTEkpeflyolznsTpEgApCijNA9uBCzkLzHKS gnzMgIdJcRTkFqUm1mCKv+KUZyDUUmY9yrIFJ7MvBK4Ta+AjmACOoLn0haQI0oSEVJSDYxKTS rqRZGR05bWb166NvPmOuUFYR6GjAcC/m1csyCEJ3uFSfKz6Js/7CpaMmeWvBbynOUR87LP8va On4d8T3QdVFXjOVJ0kHOT+oS+DbtmL/68o8stx9ymKOpEj9nPWf1/mPOPC6//Of2g5LI1DQWb Hfn/m1xJsLH7fUDzzYW60nmS+Y+dDPKUWIozEg21mIuKEwG2+KxLdAIAAA== X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-3.tower-27.messagelabs.com!1505212591!116032986!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 23115 invoked from network); 12 Sep 2017 10:36:32 -0000 Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-3.tower-27.messagelabs.com with SMTP; 12 Sep 2017 10:36:32 -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 9E5CE15BF; Tue, 12 Sep 2017 03:36:31 -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 B04703F578; Tue, 12 Sep 2017 03:36:30 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Tue, 12 Sep 2017 11:36:17 +0100 Message-Id: <20170912103622.18562-3-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170912103622.18562-1-julien.grall@arm.com> References: <20170912103622.18562-1-julien.grall@arm.com> Cc: bhupinder.thakur@linaro.org, Julien Grall , sstabellini@kernel.org Subject: [Xen-devel] [PATCH v2 2/7] xen/arm: Move arch/arm/vtimer.h to include/asm-arm/vtimer.h 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" It will be necessary to include vtimer.h from subdirectory making the inclusion a bit awkward. Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- xen/arch/arm/domain.c | 2 +- xen/arch/arm/traps.c | 2 +- xen/{arch/arm => include/asm-arm}/vtimer.h | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename xen/{arch/arm => include/asm-arm}/vtimer.h (100%) diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index 6512f01463..784ae392cf 100644 --- a/xen/arch/arm/domain.c +++ b/xen/arch/arm/domain.c @@ -33,8 +33,8 @@ #include #include #include +#include -#include "vtimer.h" #include "vuart.h" DEFINE_PER_CPU(struct vcpu *, curr_vcpu); diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c index 6b3dfd9bcf..6f32f700e5 100644 --- a/xen/arch/arm/traps.c +++ b/xen/arch/arm/traps.c @@ -50,9 +50,9 @@ #include #include #include +#include #include "decode.h" -#include "vtimer.h" /* The base of the stack must always be double-word aligned, which means * that both the kernel half of struct cpu_user_regs (which is pushed in diff --git a/xen/arch/arm/vtimer.h b/xen/include/asm-arm/vtimer.h similarity index 100% rename from xen/arch/arm/vtimer.h rename to xen/include/asm-arm/vtimer.h