Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp931879ybl; Wed, 28 Aug 2019 07:22:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyB/pDE1xgDCdWPh8xWU5dH4MIm0TctFrURxdAZpIszxyb/Oyg1mkfU6XDd90P04q6b7yZu X-Received: by 2002:a63:4c5a:: with SMTP id m26mr3620276pgl.270.1567002152069; Wed, 28 Aug 2019 07:22:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567002152; cv=none; d=google.com; s=arc-20160816; b=0abkLJd9uxVBHNaXA2jMNoqaU6WlanB8/GHQfmZ57oONyGTLI0NENU/5D5auxNPvSy C1z8AL6HGJlkGmMFXxa+EaSdCwIjEzneYR7binr1nwO2laiTxG4MHjbD/EgTUYzqFiw0 noOKQ7N42Kw2CtgIjXjTyFrCU7Zm2Kl6XKPYmJS3Pueevnb4lEtTMaxXrRb53kIW/O0P JW4kf8jnzInwtEgcooAzLOuT4pMKw8/3VudqEifTCTn0OtmeRJBefcnb0akGOe8yiD7k MXQzX5WCPudNMTtFTBUGG2HqzikKE1FlYjk4TWnbG9OcAj2de8ZgBPWgEpXvURIOOfFT DYtA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=5miFGnPe5RpYDj/Z2zM+wDYPkBcELi5PHsN67JsLU40=; b=RFLZmcx3egf05NDUgeHPYzfKc4zLK/UnAflSA7AcXlWRmizadui3x5JI1GTbJ33PKm FNEaTTIGW+i+MqrRnpWQobJWuKhEf//zNJ6+K3fBUCI5jVriiqfBxyr+ngm3Hwa7ZZq+ 3g09U5TW2fVE7cDcrFljGkHtVCDLGzhbW/Ierx9fMHytkOZitLuL96haeYZq3N/k50vm bGFmPIqFkGAsn+1daYXLMSqXD+iVRc4gJ0iZB3aMMBlvp0A9L0a4vwGYGgRx5VYgrbDv akre2ZZqTMrAiqTxUoULX1eU630HQ2lYgpfNIG0f7+y5dCtoEYheBZ8mWNESWqCH7+8I AiPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=C5yshFhd; 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 y65si2191635pgd.487.2019.08.28.07.22.15; Wed, 28 Aug 2019 07:22:32 -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=C5yshFhd; 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 S1726555AbfH1OVN (ORCPT + 99 others); Wed, 28 Aug 2019 10:21:13 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:47702 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbfH1OVM (ORCPT ); Wed, 28 Aug 2019 10:21:12 -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: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:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5miFGnPe5RpYDj/Z2zM+wDYPkBcELi5PHsN67JsLU40=; b=C5yshFhd1Yq+LUhUehHTilZS9 fohwe25pSav/nTwz0sWetQQmwfprwB6OJiI3jJBHDWa24moS92VxURWQTl/IXHhW6stQLhuYQEVll MGZQ/OzubmdslO+P9OPuKM80uT8E5vybX0h8FYEr/ZKyWiiSA1oKZVm5Z3iUjdl2nVQQIPJHnaXtw A/OWQMr4tCIN68mb5fGaoJXabRa2Dbnx5DXilcVXgRDQJ61va5rtytMG08fBKRL5jQG9rwxF549LZ NftVRvTAyJUNWn31zbMcBAFvW59/hEqEmowPpeDS0U8cWpCxV7iZ9p7au8X9D0BzJ+dxLZTBVdVTW pqjEHc3ew==; Received: from [2001:4bb8:180:3f4c:863:2ead:e9d4:da9f] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i2yox-0005Z0-Bu; Wed, 28 Aug 2019 14:21:11 +0000 From: Christoph Hellwig To: jgg@mellanox.com, akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, daniel@ffwll.ch Subject: [PATCH] mm: remove the __mmu_notifier_invalidate_range_start/end exports Date: Wed, 28 Aug 2019 16:21:09 +0200 Message-Id: <20190828142109.29012-1-hch@lst.de> X-Mailer: git-send-email 2.20.1 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 Bo modular code uses these, which makes a lot of sense given the wrappers around them are only called by core mm code. Also remove the recently added __mmu_notifier_invalidate_range_start_map export for which the same applies. Signed-off-by: Christoph Hellwig --- mm/mmu_notifier.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mm/mmu_notifier.c b/mm/mmu_notifier.c index 690f1ea639d5..240f4e14d42e 100644 --- a/mm/mmu_notifier.c +++ b/mm/mmu_notifier.c @@ -25,7 +25,6 @@ DEFINE_STATIC_SRCU(srcu); struct lockdep_map __mmu_notifier_invalidate_range_start_map = { .name = "mmu_notifier_invalidate_range_start" }; -EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range_start_map); #endif /* @@ -184,7 +183,6 @@ int __mmu_notifier_invalidate_range_start(struct mmu_notifier_range *range) return ret; } -EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range_start); void __mmu_notifier_invalidate_range_end(struct mmu_notifier_range *range, bool only_end) @@ -218,7 +216,6 @@ void __mmu_notifier_invalidate_range_end(struct mmu_notifier_range *range, srcu_read_unlock(&srcu, id); lock_map_release(&__mmu_notifier_invalidate_range_start_map); } -EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range_end); void __mmu_notifier_invalidate_range(struct mm_struct *mm, unsigned long start, unsigned long end) -- 2.20.1