Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp280118pxb; Thu, 25 Feb 2021 02:15:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTO7LFhMUH3ErHVEgsji0bcQN+YwYOm54MCSvE/rwI/xSIbeitPDe3Jbb/H8Ln8v8xIAH8 X-Received: by 2002:a05:6402:3508:: with SMTP id b8mr2099369edd.341.1614248114504; Thu, 25 Feb 2021 02:15:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614248114; cv=none; d=google.com; s=arc-20160816; b=AqJZGVuVEWU8zV77S9Q+S/MCOK5E/JdOcBwlzJh4L+Awm9P42HWseYhJQwqzFxmRJw 3weAIyUygdreK+miHnbCweLaeMmyKQX65BepwVgZ0AmOHQJRBEnK7AYVvzllqU2qJ/g+ ruxKXUSVWFoYi1wMHIoKVYFTa6qrRsLefO1c7VxsNV5ShUOL7w4JHutQc/aS0QEJGp0K 19ADbPm60BAAJLOqAuZNFIbpX5TiFRt9cgk7zAGGivhqOvolqv8qB4Mpxq2fFN8Tchw8 rFv6B7iUKjtaVboR9u7Xl5XdyQ12m4x7Iceuyh8ACVr25YFeRHXOFSkguu2VUHJ23TXa eHqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=EGo9CJsajT5V7NR+9LD+VKE4GNhff9ihkUUeX6fYye8=; b=uK/4zDvHQlaNOB8QggpXIpGyI46nfWhSH4ZIo6V9QqdrFqggq1o5bxQGDyY72NyBGU vGnxBzrjw1G9Pu3nClehxAvUmKkmLq0a32NxtkwAW19Z2r+f1EMWGt8lB78V2qQxwDDs Iqg+efIiZ4zRQv6foZaiS6iKQEx9+kr9aY02tX9BUKSuiyiHkvTKKLsAUBhRMlIoswIb ebyEc7kueg+DDM4g4OYDqBKoWkUdCCbXFglpzL5H1erLIaeus6hul2kSYCMj5C1n6OGi NA4YdXz6VMqTTPgJvgCiXLgYkile1K4r0IS1oqWVMVo4wW6v2CTWHaA9MjxLT9kgwyXt 35ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZEI23AyX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si3174000edv.61.2021.02.25.02.14.51; Thu, 25 Feb 2021 02:15:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZEI23AyX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233496AbhBYKMA (ORCPT + 99 others); Thu, 25 Feb 2021 05:12:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:34110 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235279AbhBYJ66 (ORCPT ); Thu, 25 Feb 2021 04:58:58 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D8DEC64EBA; Thu, 25 Feb 2021 09:55:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614246905; bh=raU4MGqjBAmfuxy7acDYtTLSzIYckDSt6CZlH5zXx88=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZEI23AyXWiTPnCusOTpVAuILNNU0Ew690J+y7XUOraQCdyPtuYJnlcygci9XBYzhc QFZ+AxifjlbGttm2s9JtMB91h2u+Els2VY9xzhmDX3iu6VZUpLC7SQQgeorYWlk+EY EJsyWtbhVodiaWf7nW6PZV+rLmxY/h0wWEQxQL8w= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christoph Hellwig , "Matthew Wilcox (Oracle)" , Dan Williams , Daniel Vetter , Andrew Morton , Linus Torvalds Subject: [PATCH 5.10 13/23] mm: unexport follow_pte_pmd Date: Thu, 25 Feb 2021 10:53:44 +0100 Message-Id: <20210225092517.163803871@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210225092516.531932232@linuxfoundation.org> References: <20210225092516.531932232@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christoph Hellwig commit 7336375734d65ecc82956b59a79cf5deccce880c upstream. Patch series "simplify follow_pte a bit". This small series drops the not needed follow_pte_pmd exports, and simplifies the follow_pte family of functions a bit. This patch (of 2): follow_pte_pmd() is only used by the DAX code, which can't be modular. Link: https://lkml.kernel.org/r/20201029101432.47011-2-hch@lst.de Signed-off-by: Christoph Hellwig Reviewed-by: Matthew Wilcox (Oracle) Cc: Dan Williams Cc: Daniel Vetter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- mm/memory.c | 1 - 1 file changed, 1 deletion(-) --- a/mm/memory.c +++ b/mm/memory.c @@ -4798,7 +4798,6 @@ int follow_pte_pmd(struct mm_struct *mm, ptepp, pmdpp, ptlp))); return res; } -EXPORT_SYMBOL(follow_pte_pmd); /** * follow_pfn - look up PFN at a user virtual address