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: 9948939 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 9943A60325 for ; Tue, 12 Sep 2017 10:39:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9112128F0C for ; Tue, 12 Sep 2017 10:39:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8592428F1B; Tue, 12 Sep 2017 10:39:16 +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 F2A5828F14 for ; Tue, 12 Sep 2017 10:39:15 +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 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" X-Virus-Scanned: ClamAV using ClamSMTP 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