From patchwork Sun Feb 23 22:16:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 25155 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CFB2C20143 for ; Sun, 23 Feb 2014 22:18:37 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id wp4sf7812984obc.11 for ; Sun, 23 Feb 2014 14:18:37 -0800 (PST) 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=7FEMA5KtSNFAM8Wtt2nkfUsHVfycsKv2qSZ8W39vW3U=; b=U3e0bLIIel4yOI/IHbIAXaS/4PkmSmCleaqrBu4OOK/hd5IyGYOb55CeIt9JqKpizl qLJmoVkCaOMGrvl0GZz6Q31gx1KCdk3/XicWbp2+2OzhDARXHXy6f+Yj9udtnlkNvHLo EuoL3GyhtjA6+8ZpfetU1jrev30YBJtq9Y7141lozizs80TjH/uynDI+/wopTU58WN07 USmap4MHkgpegTjW0IDKKA07kCQLBT15a+XtczDZYiZ0dC6rjBptwU2boXFl2ItRUpnx GejEnRr2dkSuIuQ3x/w9joTld6cdoVsHVF+7vE5n7tFx7NonftZhYnWnM7kCSF90rt8x catw== X-Gm-Message-State: ALoCoQlJiQLDOC+/jLcyFTMLV+/xwYFp5UfS1tMEbj1dJPeppKXf5b8QyBe4C3QmzAUptA4Zow00 X-Received: by 10.50.164.198 with SMTP id ys6mr7848048igb.2.1393193917172; Sun, 23 Feb 2014 14:18:37 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.169 with SMTP id o38ls958466qge.37.gmail; Sun, 23 Feb 2014 14:18:37 -0800 (PST) X-Received: by 10.52.135.65 with SMTP id pq1mr8962704vdb.13.1393193917042; Sun, 23 Feb 2014 14:18:37 -0800 (PST) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id wm4si5315510vcb.4.2014.02.23.14.18.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Feb 2014 14:18:37 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id jx11so5161679veb.10 for ; Sun, 23 Feb 2014 14:18:37 -0800 (PST) X-Received: by 10.52.107.35 with SMTP id gz3mr8888475vdb.8.1393193916974; Sun, 23 Feb 2014 14:18:36 -0800 (PST) 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.174.196 with SMTP id u4csp20496vcz; Sun, 23 Feb 2014 14:18:36 -0800 (PST) X-Received: by 10.224.173.1 with SMTP id n1mr25499091qaz.48.1393193916597; Sun, 23 Feb 2014 14:18:36 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id q6si8151723qaq.46.2014.02.23.14.18.36 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 23 Feb 2014 14:18:36 -0800 (PST) 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 1WHhLm-0006om-7m; Sun, 23 Feb 2014 22:16:42 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WHhLk-0006oT-M5 for xen-devel@lists.xenproject.org; Sun, 23 Feb 2014 22:16:40 +0000 Received: from [85.158.139.211:60264] by server-14.bemta-5.messagelabs.com id E9/CB-27598-8437A035; Sun, 23 Feb 2014 22:16:40 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-16.tower-206.messagelabs.com!1393193799!5730217!1 X-Originating-IP: [209.85.215.171] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.9.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 5486 invoked from network); 23 Feb 2014 22:16:39 -0000 Received: from mail-ea0-f171.google.com (HELO mail-ea0-f171.google.com) (209.85.215.171) by server-16.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 23 Feb 2014 22:16:39 -0000 Received: by mail-ea0-f171.google.com with SMTP id f15so2718712eak.2 for ; Sun, 23 Feb 2014 14:16:39 -0800 (PST) X-Received: by 10.14.110.68 with SMTP id t44mr21060739eeg.74.1393193799254; Sun, 23 Feb 2014 14:16:39 -0800 (PST) Received: from belegaer.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id g1sm55994749eet.6.2014.02.23.14.16.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Feb 2014 14:16:38 -0800 (PST) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Sun, 23 Feb 2014 22:16:19 +0000 Message-Id: <1393193792-20008-3-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1393193792-20008-1-git-send-email-julien.grall@linaro.org> References: <1393193792-20008-1-git-send-email-julien.grall@linaro.org> Cc: stefano.stabellini@citrix.com, Julien Grall , tim@xen.org, ian.campbell@citrix.com, Xiantao Zhang Subject: [Xen-devel] [PATCH v2 02/15] xen/passthrough: vtd: Don't export iommu_domain_teardown 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.128.179 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: iommu_domain_teardown is only used internally in xen/drivers/passthrough/vtd/iommu.c Signed-off-by: Julien Grall Acked-by: Ian Cambell Cc: Xiantao Zhang --- xen/drivers/passthrough/vtd/iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/drivers/passthrough/vtd/iommu.c b/xen/drivers/passthrough/vtd/iommu.c index 5f10034..a8d33fc 100644 --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -1701,7 +1701,7 @@ static int reassign_device_ownership( return ret; } -void iommu_domain_teardown(struct domain *d) +static void iommu_domain_teardown(struct domain *d) { struct hvm_iommu *hd = domain_hvm_iommu(d);