From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C755C3A59F for ; Thu, 29 Aug 2019 22:42:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 37BD6233FF for ; Thu, 29 Aug 2019 22:42:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567118545; bh=jsdNyMNS/9pCKUS4waHlGlAetK7kzg37QE3T5eJP7R4=; h=Date:From:To:cc:Subject:In-Reply-To:References:List-ID:From; b=Z9phuSNtR38ymw2Vv/c3sgadC26PTKOSx8n4gKMpCX+nnqcJGTZ7f7dN8m/DRqgER Rth8QSip+P1hgXu4vFjMFX0pvnwN41XY6Jf/xpHIy4zV9GqgKTHdIVq027XlE0vCig Yiw7HrbSqAHmOi79fJ/X0iO9RkmI3cxJv7aiyRmk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728742AbfH2WmY (ORCPT ); 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 >