Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4247684ybl; Mon, 26 Aug 2019 07:40:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/PIR0kBfgPRjlKt6p8DJ4LUp4ytwOfZ3b1sf6kH5ejQAb2gxtF84Y7DOsiviQwtViyHxd X-Received: by 2002:a17:90a:35a7:: with SMTP id r36mr20522348pjb.17.1566830457623; Mon, 26 Aug 2019 07:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566830457; cv=none; d=google.com; s=arc-20160816; b=j8UrC7fNXD+iVH8++U3NfbJdVhFPa0uxV9XFGK/4NRSQcQs1IDsfmx3x8bufVswLiJ IxWOmpJCEWodMqSGP8K+uj63a0ybWO52HQ7JOIEf8RdpsbzWZbK5TGsWt3TQr5jwCvhP SnyCe+XVjoq4u86Mc4Vbw4DPVYBI1odzPF6S/iTqmLrIFyAVRsGgkC3CTAbmLMABBHHC 5WtATFAEUe45i+BWt9r9p1wCV8mZYji9gAhz3KkY0ha6DuSN2QZME2Ty3y2J5JRbsZju udUo9Hlw6JDlBuZst08eBFIHoHNF5t8IAWQFl3UWCfyMr1EwmMb9m/I9OlmGjbj5oD05 Ii+A== 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=LlnOOn5rHCYaI36ipZxq8/heoietui0cNmQwibcWJ+A=; b=vWhxTsDV539J9qh4L98xgQsmryKg0hOeWh3Y5l1Qh95U0eph1fYgzGJQUpv/siSEFZ h+Uc1fZ2gDDZ+lRShOIyKgWxq+UetGlGn7m+3XzehmNoi9t7asaHKsZDG2RwFCfVL8Kg 1GBS0S/talEAnvaOFKJiTGiJfmjkrf022GswhYs3v74kUnP39gckkMQG3r2Mn32d3fNQ m1e2sZ2vbqcaL9M3GqOpI+gGvnr1csRNwkxNiRk2zve7MyyoL26c7wKdUFSGSZ4EfbAX FESR5i7/T+P3BIZVHnxcaXdIsn6yoPrhC7qrXk1Td1w+onei/jG7GfEzMs6Jpq+kJRYq a1eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kAfgXtgq; 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 d7si9677873pjx.68.2019.08.26.07.40.41; Mon, 26 Aug 2019 07:40:57 -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=kAfgXtgq; 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 S1731022AbfHZMUJ (ORCPT + 99 others); Mon, 26 Aug 2019 08:20:09 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:49432 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730964AbfHZMUE (ORCPT ); Mon, 26 Aug 2019 08:20:04 -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=LlnOOn5rHCYaI36ipZxq8/heoietui0cNmQwibcWJ+A=; b=kAfgXtgqlZUnlGrheXiktRe/RD 0DMcU/zPhlcA/zodaPIHB0N11VTZLJSyOirnkIOK0HJeV9yJNhfkdxif6uhGzerWiAL39+wmQvFr3 Z0YmAGZ3uxevwlK6po9hFrJX0Ltvhfd3hLNwqJEy4kyc2ngAMBrm6pRlPVBL5XClzWA29TRIo8M5m VEq6qTjTUdQEnB+QiECocdSqoqqiNAVv8enJvBhiOEfTKDeYy4POqxxcrrFJeL0JAw3J2IcALHa6U 0C+Z5UriwsbsDt25hGtNMZHFibKRgmQmscdC6AJDUWuB9qdSJKNrdTHcHPdUKJnHx6oZE35kPBMcU 0qBgO9Gw==; Received: from clnet-p19-102.ikbnet.co.at ([83.175.77.102] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i2DyZ-0002SO-Kd; Mon, 26 Aug 2019 12:20:00 +0000 From: Christoph Hellwig To: Stefano Stabellini , Konrad Rzeszutek Wilk 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 05/11] xen: remove the exports for xen_{create,destroy}_contiguous_region Date: Mon, 26 Aug 2019 14:19:38 +0200 Message-Id: <20190826121944.515-6-hch@lst.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190826121944.515-1-hch@lst.de> References: <20190826121944.515-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 --- 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