From patchwork Fri Aug 11 18:02:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 109913 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1250176qge; Fri, 11 Aug 2017 11:05:28 -0700 (PDT) X-Received: by 10.107.137.17 with SMTP id l17mr13564826iod.305.1502474728317; Fri, 11 Aug 2017 11:05:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502474728; cv=none; d=google.com; s=arc-20160816; b=tL6jlNtuELGJWLaOHf2v+JXQWjCSxzeNUDA1Y1/APRqRQ3Xu8IFofHfnPchjC7DeWg U/aaumC7U+sKnvJeB5YtNppXzSVvV/EMR3Bs+CIxN946yyznmASkOMTE7UuFyWLf+i4j 7UKSd/keDLgWU+kDQmVipJd+Sqg3hSiFRRp7yHVJa3sgo/XjSFLV11Tp0VJUOYZ5Y0Rg h3nQxOfplC5A84szRj4SeTunVkjjy7u1AVHyyOslEnIxUTZtF75YAsovoS7kZFzVv+AX apWcTEWoF0+mLEVVnMxh57hLR51CFFomy3LW+fe4y2VyCTqIWaULXacavVK45F0+wD6F Zw1g== 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=dHWxWPSGQICXii2IonDYJMVM2UOxc6+o/RXkTwTk1Qw=; b=yVFSHqNzzn93aJd8iF/I6GAcF53KQF4Y95/pFQDyyPArdGKpYYYRkDt68UVHEtPYkn c/KVxdUcOpwYJ5cy5g0203Zk0x4FD1dIQuIsCpv8O3Sdd1NgN5z/IwyTjJ1RUoevF2CE qecoeWZXWWlLDQTd5CVND0xE8CpTkSR7QwwrAEEba35jTGtsIOn0LKju/GplgF4V/H0y gMc25Joc2+/pZk1gveAtsu5AXh5kxYUzLIgUMmugTU/efJOMO/erznralxPJ0eVC/7yb k6cz6K2TeSvp6YTPcB7872MJgzPJDSQDcgc/aMFezxxeJzz40s1RDXt44/ZEVdPelkbq 5BJg== 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 82si1493206iof.271.2017.08.11.11.05.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Aug 2017 11:05:28 -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 1dgEHD-0002a5-OJ; Fri, 11 Aug 2017 18:03:15 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgEHC-0002ZN-IM for xen-devel@lists.xen.org; Fri, 11 Aug 2017 18:03:14 +0000 Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id 14/46-01993-161FD895; Fri, 11 Aug 2017 18:03:13 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRWlGSWpSXmKPExsVysyfVTTfxY2+ kQUuLjMWSj4tZHBg9ju7+zRTAGMWamZeUX5HAmrHoVm7BK66Khnv3WBoYJ3F2MXJxCAlsZpRo OfiVFcI5zSjx7NRCti5GTg42AU2JO58/MYHYIgLSEtc+X2YEsZkF4iTeL2pkAbGFBYIknl6aD 1bDIqAq0fzvPTuIzStgIXHs80uwGgkBeYldbReBFnBwcApYSsy5LAsSFgIq2f5vHdsERu4FjA yrGNWLU4vKUot0zfWSijLTM0pyEzNzdA0NTPVyU4uLE9NTcxKTivWS83M3MQJ9ywAEOxiPTXY +xCjJwaQkypvg0xspxJeUn1KZkVicEV9UmpNafIhRhoNDSYI35ANQTrAoNT21Ii0zBxhkMGkJ Dh4lEV4JkDRvcUFibnFmOkTqFKMux6sJ/78xCbHk5eelSonz8oAUCYAUZZTmwY2ABfwlRlkpY V5GoKOEeApSi3IzS1DlXzGKczAqCfPefg80hSczrwRu0yugI5iAjujzATuiJBEhJdXA6GDUUL p/kXjtyhsCsnkK647u3yBwxEEyMiPUO/3a3nLeNad+MHc5HF+bb/u25srt9vICh5z+sN3rzL2 PJBz4f+/vPPsJlauupnsfuvJ41/6j/ytvRKZtX9p3KKjiWp5YdTJL+M0lLzTEz98S6Tkg8k6s S04+drrFNqtpEp9iD6YsujBjJnMbgxJLcUaioRZzUXEiAHP8Wz9zAgAA X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-9.tower-206.messagelabs.com!1502474592!107018571!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 28675 invoked from network); 11 Aug 2017 18:03:13 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-9.tower-206.messagelabs.com with SMTP; 11 Aug 2017 18:03:13 -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 A61681650; Fri, 11 Aug 2017 11:03:12 -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 B61113F577; Fri, 11 Aug 2017 11:03:11 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Fri, 11 Aug 2017 19:02:52 +0100 Message-Id: <20170811180257.5493-7-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170811180257.5493-1-julien.grall@arm.com> References: <20170811180257.5493-1-julien.grall@arm.com> Cc: bhupinder.thakur@linaro.org, Julien Grall , sstabellini@kernel.org Subject: [Xen-devel] [PATCH 06/11] 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 --- 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 1d835d321d..355021e452 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 ca9bef712c..d79e9605b5 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