From patchwork Fri Feb 7 17:43:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 24301 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B3F582096A for ; Fri, 7 Feb 2014 17:43:28 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id pa12sf9142219veb.9 for ; Fri, 07 Feb 2014 09:43:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=A+FPIBV0p1bt9VIYlpV6PZCZjS4kiCj/p53t8RAeJ6Q=; b=ML30H3UoeWJkTB/4T/4GeH87iST4KYIBQOJ7Ojvw5TXFCf5LcPc1z17IkSldtmjofr Z1A9W5NrXw9y5LnhC0wGqJ/J2+0ded+53X1WPwK5EY5risr4t1oC5+hrq8V1Qz+EM8FO YbZjrR/sfxDRb21Bh00S59k3LEqiJMIWNM5mJUjT4uKv0AggD7cbFa89yTVRfLfZgDAq FLbf4G0/IK6ORJaPKxDA2A8/BlmAvxOFna/z69UvazZiR2FLnd0c16ubKeUlDzq6JV+U oJUJgUDJZf+j6ridXN45UmpVh6v4rXDl9o4gQaat6hscZY1aM9TDlHQ5H+gDYrzaNjXH AONw== X-Gm-Message-State: ALoCoQkhUwbPsF8Ap9D8jJLN7I1KWLbPOgn0wotM8kcmz7QLthdV4O9AzRLN9cW+s7XpurPFae3R X-Received: by 10.224.47.129 with SMTP id n1mr6269857qaf.4.1391795007887; Fri, 07 Feb 2014 09:43:27 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.180 with SMTP id z49ls1136148qgd.59.gmail; Fri, 07 Feb 2014 09:43:27 -0800 (PST) X-Received: by 10.58.69.111 with SMTP id d15mr11368461veu.3.1391795007809; Fri, 07 Feb 2014 09:43:27 -0800 (PST) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id rl1si1546043vcb.74.2014.02.07.09.43.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Feb 2014 09:43:27 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.177 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.177; Received: by mail-vc0-f177.google.com with SMTP id if11so2834965vcb.8 for ; Fri, 07 Feb 2014 09:43:27 -0800 (PST) X-Received: by 10.58.168.142 with SMTP id zw14mr1524721veb.33.1391795007719; Fri, 07 Feb 2014 09:43:27 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp123579vcz; Fri, 7 Feb 2014 09:43:26 -0800 (PST) X-Received: by 10.14.202.8 with SMTP id c8mr5745786eeo.88.1391795006177; Fri, 07 Feb 2014 09:43:26 -0800 (PST) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx.google.com with ESMTPS id 43si9563885eeh.136.2014.02.07.09.43.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Feb 2014 09:43:26 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.182 is neither permitted nor denied by best guess record for domain of julien.grall@linaro.org) client-ip=209.85.215.182; Received: by mail-ea0-f182.google.com with SMTP id r15so1701430ead.41 for ; Fri, 07 Feb 2014 09:43:25 -0800 (PST) X-Received: by 10.15.21.2 with SMTP id c2mr5740660eeu.77.1391795005757; Fri, 07 Feb 2014 09:43:25 -0800 (PST) Received: from belegaer.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id 8sm18849063eef.1.2014.02.07.09.43.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Feb 2014 09:43:25 -0800 (PST) From: Julien Grall To: xen-devel@lists.xenproject.org Cc: patches@linaro.org, ian.campbell@citrix.com, tim@xen.org, stefano.stabellini@citrix.com, Julien Grall , Xiantao Zhang Subject: [RFC for-4.5 02/12] xen/passthrough: vtd: Don't export iommu_domain_teardown Date: Fri, 7 Feb 2014 17:43:01 +0000 Message-Id: <1391794991-5919-3-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1391794991-5919-1-git-send-email-julien.grall@linaro.org> References: <1391794991-5919-1-git-send-email-julien.grall@linaro.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.177 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , iommu_domain_teardown is only used internally in xen/drivers/passthrough/vtd/iommu.c Signed-off-by: Julien Grall Cc: Xiantao Zhang Acked-by: Ian Campbell --- 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);