Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp610288ybe; Mon, 2 Sep 2019 06:40:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6qWDJmnlUL2GUWQ/jG36Tipz5mtJtFktNhG7Vg0QDkCVqztLPO4wOHQMLCVEIETqKOLv5 X-Received: by 2002:a17:902:7c91:: with SMTP id y17mr11431622pll.46.1567431619908; Mon, 02 Sep 2019 06:40:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567431619; cv=none; d=google.com; s=arc-20160816; b=yrk2E8gzkbXvagUYOra8j1eP9nrqB5LlX+OgyKRGiwc3UzhSGnxoHmeyTzgagGttjE m7sx8+FbZupMMpA5CaGVj9xNMlRQRJWwbYDlKtpo0dNTFUnHkwhjDbPnI+p+IN1K6R3x siU43FVAxxxr40XwqJQlBsLj8/sWTLXHAlZT8fZM0tEflf8MHfcpTvlihwiom+ADIblm ZoB2DhfxhL5AJZv21fUIjy55bio9CvFq71wqjRJlcYUlxbIG4UCDhCyzUifw/An+ZCEH JKo1wkZNbk9XD979f6Y3ja0t5jq6qWxd3q5tpM7BvuXwKEc4HRz+gM4vsqQIQrWESitW O0jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Zpw5MllFX9fhxx6EO9p2LOeJ5F0J0z3R/HLMi2TPdSQ=; b=ywOFGbm7CxufCojaiOizHe0qvDZ9sQlXu3r82QG9DsBtndQkgrgOblxBjz8kWiwFdC CYXFPDEcM6UuvmEhCpRl9CBJQTGMJCpIzgqf0b0rXTNGo3+mSsPBqtJ4lA2KzxN1vP+8 /K/+cSqj7mPGOp9eg4SnAXlh6SEHCClWrxsie1JVBnsk57yVoj4KqJVPxDw6lWuCgAzo h9kJgZBZv0P15a87he+HKa01bWSXWb4gqy/S05ePabOg9mkhbCcDDIw78cq1qjV3PGgi JaGgo6XBEpEEIsF6wdPtwdVtsWuEQ8kx04i/iNTnWQNelE48y9uHyrxZMCF3rW790IVm SDdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=EFwPojdc; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l63si11586511pge.264.2019.09.02.06.40.04; Mon, 02 Sep 2019 06:40:19 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=EFwPojdc; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730562AbfIBNEH (ORCPT + 99 others); Mon, 2 Sep 2019 09:04:07 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37662 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730469AbfIBNEG (ORCPT ); Mon, 2 Sep 2019 09:04:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Zpw5MllFX9fhxx6EO9p2LOeJ5F0J0z3R/HLMi2TPdSQ=; b=EFwPojdcTFtbmMxJO5jtupsmx1 0tkTmctlO9fhUz5pZDZcKWWaI/hsFfRBeODr7tpq2Gvpi3l2cF8wkkTTOE7SpqXyvwM+/3ZdPSJhk V7+1WpI9EgCTq837af7201iLXeuE7wvQNZJ2B66q4aSjrGgsTDB5O29MuMoavMru0ooGjSP/SpGI+ nnfV7Xv5NVo4xIR0g5R3u9Df9GfGws/LVk4JdSzEi2+ilgFKy0ghvDyMhWndfjsjiJKalerzMcKaD 8xCOwxM7l0dEzaweHZA5RtKiGT0A/B01FL2NCMwfPiWBdRSTvv1AgDp03eEDbZtQlmitPXIy/pQs7 UQ2B6nXA==; Received: from [2001:4bb8:18c:1755:c70:4a89:bc61:2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i4m01-0001Ua-Mj; Mon, 02 Sep 2019 13:04:02 +0000 From: Christoph Hellwig To: Stefano Stabellini , Konrad Rzeszutek Wilk , gross@suse.com, boris.ostrovsky@oracle.com Cc: 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: [PATCH 06/13] xen: remove the exports for xen_{create,destroy}_contiguous_region Date: Mon, 2 Sep 2019 15:03:32 +0200 Message-Id: <20190902130339.23163-7-hch@lst.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190902130339.23163-1-hch@lst.de> References: <20190902130339.23163-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 11d5ad26fcfe..9d73fa4a5991 100644 --- a/arch/arm/xen/mm.c +++ b/arch/arm/xen/mm.c @@ -154,13 +154,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