From patchwork Wed Mar 19 15:43:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 26591 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6E0FC203C3 for ; Wed, 19 Mar 2014 15:46:47 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id j17sf33931701oag.10 for ; Wed, 19 Mar 2014 08:46:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :list-archive:content-type:content-transfer-encoding; bh=4HFR8Of/tZFssEWFWNlcRFu2jfljbEX6ZToIF2pWyr8=; b=danXk6bDGU0I/4rJIU5hpEHOJxkBcPjVCHDmJjLQd4dDYJBKbAbh3AsvGX0+HiU3Uc gBTcuorVl4SeFlWZBZGCXr8vTKBap1SfBo8Jp9k7TopPBdNQVO6k9XEmV+4NluZ0Eve2 EZhWGktVL++pGFd00kzjn6fE6zIQnhqlmThk5FOkTqkjHBIoz5QGfWmS1/xUQ8OGv7We A7PFURAxiawXTW8XFTecDqxaKQ5fMS+aXZQup4qLI684RVy51Ymx9J58A9WGx1UkdJqD TFrHfCHWrRu3l5tl8OHwPGbjv4a4Y1TnmhVh06ylqXAXilHoq8aoWksmxdBzIN2Ipnjw 3hdg== X-Gm-Message-State: ALoCoQkgv6zy/XG6HYeteJc22+bAeg1BnIQjfpgoN05ewjjMOZGcoRYrsv46rVML6IvwTuVisF1M X-Received: by 10.43.78.135 with SMTP id zm7mr13993183icb.27.1395244006923; Wed, 19 Mar 2014 08:46:46 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.115 with SMTP id b106ls2568764qgd.97.gmail; Wed, 19 Mar 2014 08:46:46 -0700 (PDT) X-Received: by 10.220.139.198 with SMTP id f6mr123565vcu.47.1395244006738; Wed, 19 Mar 2014 08:46:46 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id sa10si3603248vdc.157.2014.03.19.08.46.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Mar 2014 08:46:46 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id ld13so9143442vcb.5 for ; Wed, 19 Mar 2014 08:46:46 -0700 (PDT) X-Received: by 10.58.91.101 with SMTP id cd5mr30117937veb.5.1395244006667; Wed, 19 Mar 2014 08:46:46 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp310890vck; Wed, 19 Mar 2014 08:46:46 -0700 (PDT) X-Received: by 10.229.81.71 with SMTP id w7mr44163792qck.8.1395244005992; Wed, 19 Mar 2014 08:46:45 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id v9si13108919qar.173.2014.03.19.08.46.45 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 19 Mar 2014 08:46:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xen.org designates 50.57.142.19 as permitted sender) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WQIfR-0002Ud-Im; Wed, 19 Mar 2014 15:44:33 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WQIfP-0002T0-9p for xen-devel@lists.xenproject.org; Wed, 19 Mar 2014 15:44:31 +0000 Received: from [85.158.143.35:4651] by server-1.bemta-4.messagelabs.com id B3/CF-09853-D5BB9235; Wed, 19 Mar 2014 15:44:29 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-2.tower-21.messagelabs.com!1395243868!3260486!1 X-Originating-IP: [74.125.83.43] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.11.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 16026 invoked from network); 19 Mar 2014 15:44:28 -0000 Received: from mail-ee0-f43.google.com (HELO mail-ee0-f43.google.com) (74.125.83.43) by server-2.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 19 Mar 2014 15:44:28 -0000 Received: by mail-ee0-f43.google.com with SMTP id e53so6766031eek.2 for ; Wed, 19 Mar 2014 08:44:28 -0700 (PDT) X-Received: by 10.14.7.65 with SMTP id 41mr401777eeo.100.1395243868197; Wed, 19 Mar 2014 08:44:28 -0700 (PDT) Received: from belegaer.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id w6sm55426496eex.9.2014.03.19.08.44.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Mar 2014 08:44:27 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Wed, 19 Mar 2014 15:43:39 +0000 Message-Id: <1395243819-30380-4-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1395243819-30380-1-git-send-email-julien.grall@linaro.org> References: <1395243819-30380-1-git-send-email-julien.grall@linaro.org> Cc: stefano.stabellini@citrix.com, Julien Grall , tim@xen.org, ian.campbell@citrix.com Subject: [Xen-devel] [PATCH 3/3] xen/arm: Don't need to export p2m_load_VTTBR X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: julien.grall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: Signed-off-by: Julien Grall Acked-by: Ian Campbell --- xen/arch/arm/p2m.c | 2 +- xen/include/asm-arm/p2m.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c index 979fe5b..403fd89 100644 --- a/xen/arch/arm/p2m.c +++ b/xen/arch/arm/p2m.c @@ -35,7 +35,7 @@ void dump_p2m_lookup(struct domain *d, paddr_t addr) unmap_domain_page(first); } -void p2m_load_VTTBR(struct domain *d) +static void p2m_load_VTTBR(struct domain *d) { if ( is_idle_domain(d) ) return; diff --git a/xen/include/asm-arm/p2m.h b/xen/include/asm-arm/p2m.h index e1013c8..bd71abe 100644 --- a/xen/include/asm-arm/p2m.h +++ b/xen/include/asm-arm/p2m.h @@ -72,9 +72,6 @@ int relinquish_p2m_mapping(struct domain *d); */ int p2m_alloc_table(struct domain *d); -/* */ -void p2m_load_VTTBR(struct domain *d); - /* Context switch */ void p2m_save_state(struct vcpu *p); void p2m_restore_state(struct vcpu *n);