From patchwork Thu Jul 28 14:20:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 72963 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp880675qga; Thu, 28 Jul 2016 07:24:55 -0700 (PDT) X-Received: by 10.107.46.106 with SMTP id i103mr4743145ioo.67.1469715894098; Thu, 28 Jul 2016 07:24:54 -0700 (PDT) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id 81si13347799ion.26.2016.07.28.07.24.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jul 2016 07:24:54 -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 1bSmB5-0007Q8-1o; Thu, 28 Jul 2016 14:20:47 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bSmB3-0007Na-JE for xen-devel@lists.xen.org; Thu, 28 Jul 2016 14:20:45 +0000 Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id 11/B9-27233-CB41A975; Thu, 28 Jul 2016 14:20:44 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGLMWRWlGSWpSXmKPExsVysyfVTXePyKx wg4M/xC2WfFzM4sDocXT3b6YAxijWzLyk/IoE1oy3R7pZCtq5KnqPVTYw/mXvYuTiEBLYxChx eOIFVgjnNKPEwgv9jF2MnBxsApoSdz5/YgKxRQSkJa59vswIUsQs0M4osba/l7mLkYNDWMBB4 tm9SJAaFgFViSMtvWwgNq+Ai8TFe/PZQWwJATmJk8cms4LYnEDxe23fwWwhAWeJ03e3s09g5F 7AyLCKUaM4tagstUjX0FQvqSgzPaMkNzEzR9fQwFgvN7W4ODE9NScxqVgvOT93EyPQvwxAsIN xzXbPQ4ySHExKorxhoTPDhfiS8lMqMxKLM+KLSnNSiw8xynBwKEnwugnPChcSLEpNT61Iy8wB BhpMWoKDR0mENxIkzVtckJhbnJkOkTrFqCglzpsLkhAASWSU5sG1wYL7EqOslDAvI9AhQjwFq UW5mSWo8q8YxTkYlYR5N4JM4cnMK4Gb/gpoMRPQ4uLYGSCLSxIRUlINjDPTvqebSjGuXp19dr 3CovzH/g+3hXd/ZOxc/L6V7cI1mZe2jw5Msfnt82rjNJ7F7S2fCh8s8AraXF+U/2H6h0Kmi5c DX/xWUvjDwff/2u8blu+nxOlMu25+tGpxVd5jX/VDs4yUbuiJl4fNjknxOpY4/dHik9ejL32c c+Za/jEB1wyT2R7H9ixRYinOSDTUYi4qTgQArVSMNmkCAAA= X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-11.tower-31.messagelabs.com!1469715635!26646407!7 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 8.77; banners=-,-,- X-VirusChecked: Checked Received: (qmail 45365 invoked from network); 28 Jul 2016 14:20:44 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-11.tower-31.messagelabs.com with SMTP; 28 Jul 2016 14:20:44 -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 19119BBD; Thu, 28 Jul 2016 07:22:01 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.218.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DDCC03F21A; Thu, 28 Jul 2016 07:20:42 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Thu, 28 Jul 2016 15:20:18 +0100 Message-Id: <1469715620-4670-14-git-send-email-julien.grall@arm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469715620-4670-1-git-send-email-julien.grall@arm.com> References: <1469715620-4670-1-git-send-email-julien.grall@arm.com> Cc: proskurin@sec.in.tum.de, Julien Grall , sstabellini@kernel.org, steve.capper@arm.com, wei.chen@linaro.org Subject: [Xen-devel] [PATCH v2 13/15] xen/arm: Don't export flush_tlb_domain 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" The function flush_tlb_domain is not used outside of the file where it has been declared. Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- Changes in v2: - Add Stefano's reviewed-by --- xen/arch/arm/p2m.c | 2 +- xen/include/asm-arm/flushtlb.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c index 6a9767c..bda9b97 100644 --- a/xen/arch/arm/p2m.c +++ b/xen/arch/arm/p2m.c @@ -137,7 +137,7 @@ void p2m_restore_state(struct vcpu *n) isb(); } -void flush_tlb_domain(struct domain *d) +static void flush_tlb_domain(struct domain *d) { struct p2m_domain *p2m = &d->arch.p2m; unsigned long flags = 0; diff --git a/xen/include/asm-arm/flushtlb.h b/xen/include/asm-arm/flushtlb.h index c986b3f..329fbb4 100644 --- a/xen/include/asm-arm/flushtlb.h +++ b/xen/include/asm-arm/flushtlb.h @@ -25,9 +25,6 @@ do { \ /* Flush specified CPUs' TLBs */ void flush_tlb_mask(const cpumask_t *mask); -/* Flush CPU's TLBs for the specified domain */ -void flush_tlb_domain(struct domain *d); - #endif /* __ASM_ARM_FLUSHTLB_H__ */ /* * Local variables: