Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2954400ybl; Thu, 29 Aug 2019 15:44:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwu+N9/ewIxEd4WgSCGP/kZ2VbjuPQDnc1VBfTkFtPaZpN4lxsKOwby6RNglRneWTDNhx8k X-Received: by 2002:a63:ee04:: with SMTP id e4mr10382946pgi.53.1567118645719; Thu, 29 Aug 2019 15:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567118645; cv=none; d=google.com; s=arc-20160816; b=r5LR/rwby+tSEVUZGmx3SuTA8smF1mJ6FS60mB4R/PNc2crB5Q+jm+29wVIkKtTfa8 amvJ6Bemy46csCmbERZEN9vKkgdfzflLdOQakwZG1Jd9KkAKga77oh2522oE1BgZaqwg 9VIjvcvOCan+1gP0drdsPkJ75GZv6jZVhq3Vcy496gky5BHDQ/YW70O4xF92G9OJMdOJ Dx4x3axrlnooolGclrh3sZdmSvPm1BUdyi9wcOxwYKBS/aTbUHv++IcdsNMut+nvxOji 4GPScFv/pcwZdlVVAPOlJYRfZVcfSRhceGJY3KUT7TkzywuK9pggDEHe80U8bXjwNyKv +WSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=uv/vIbYKAkeQHdwOsmWZwNARZiWd8WEV75fih+VI2ZM=; b=CjuY6Qlk+0Uc94QC66Fm3T8paLXCrbn+cKB+jY8JZawJ5xeQImJMINKWDxuWGp5U3t uX27pIdfifuErAUwuXK0Yu+Vq/l/Y6mu9a3X4h+5dWND7oE5l+DF3AV1hfJuDQCu23kA LUB7BrX7xyhtcXFYFooZxVjQhYBNG7sbkJ30s15kcw+MbR+7HNTeWlSskZLBDUy4x4dg y8EamRklSxYhOYiS0qa9woNk/lv/R65jTshaVQl/HrJTY9pUAHo39waS7l7ivmaHvHEa Q9d4+utQIyCbbcySG3E0CDrRyaBdn0sCAE+TwEcBgmAlS+V/cbUAMTn5aEThEn7Rlk0X EnjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sZ3f60S6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j14si3050311pgk.107.2019.08.29.15.43.50; Thu, 29 Aug 2019 15:44:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sZ3f60S6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728732AbfH2WmY (ORCPT + 99 others); Thu, 29 Aug 2019 18:42:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:58156 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727826AbfH2WmX (ORCPT ); Thu, 29 Aug 2019 18:42:23 -0400 Received: from localhost (c-67-164-102-47.hsd1.ca.comcast.net [67.164.102.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6E98322CF5; Thu, 29 Aug 2019 22:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567118542; bh=jsdNyMNS/9pCKUS4waHlGlAetK7kzg37QE3T5eJP7R4=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=sZ3f60S6o/hx1D+PzQj9Usp9jWfLr+K8KaWvP5+V3mJz4L40jUh100neirWk+vVmj YKlbuibzZMwhUulE4H2bjLpkf4FOc80VYWYDgzKFyGxmUJuS8zlad8T1Z6ieOmqxJE qDNi4a4/0L5kh0AgFCnknxJrA67Oa2Q1AxnuqogU= Date: Thu, 29 Aug 2019 15:42:21 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: Christoph Hellwig cc: Stefano Stabellini , Konrad Rzeszutek Wilk , x86@kernel.org, linux-arm-kernel@lists.infradead.org, xen-devel@lists.xenproject.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 05/11] xen: remove the exports for xen_{create,destroy}_contiguous_region In-Reply-To: <20190826121944.515-6-hch@lst.de> Message-ID: References: <20190826121944.515-1-hch@lst.de> <20190826121944.515-6-hch@lst.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Aug 2019, Christoph Hellwig wrote: > These routines are only used by swiotlb-xen, which cannot be modular. > > Signed-off-by: Christoph Hellwig Reviewed-by: Stefano Stabellini > --- > arch/arm/xen/mm.c | 2 -- > arch/x86/xen/mmu_pv.c | 2 -- > 2 files changed, 4 deletions(-) > > diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c > index 9b3a6c0ca681..b7d53415532b 100644 > --- a/arch/arm/xen/mm.c > +++ b/arch/arm/xen/mm.c > @@ -155,13 +155,11 @@ int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order, > *dma_handle = pstart; > return 0; > } > -EXPORT_SYMBOL_GPL(xen_create_contiguous_region); > > void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order) > { > return; > } > -EXPORT_SYMBOL_GPL(xen_destroy_contiguous_region); > > int __init xen_mm_init(void) > { > diff --git a/arch/x86/xen/mmu_pv.c b/arch/x86/xen/mmu_pv.c > index 26e8b326966d..c8dbee62ec2a 100644 > --- a/arch/x86/xen/mmu_pv.c > +++ b/arch/x86/xen/mmu_pv.c > @@ -2625,7 +2625,6 @@ int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order, > *dma_handle = virt_to_machine(vstart).maddr; > return success ? 0 : -ENOMEM; > } > -EXPORT_SYMBOL_GPL(xen_create_contiguous_region); > > void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order) > { > @@ -2660,7 +2659,6 @@ void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order) > > spin_unlock_irqrestore(&xen_reservation_lock, flags); > } > -EXPORT_SYMBOL_GPL(xen_destroy_contiguous_region); > > static noinline void xen_flush_tlb_all(void) > { > -- > 2.20.1 >