From patchwork Fri Mar 25 01:09:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12791122 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5187FC433F5 for ; Fri, 25 Mar 2022 01:09:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DEC208D0007; Thu, 24 Mar 2022 21:09:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D9C148D0001; Thu, 24 Mar 2022 21:09:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C644E8D0007; Thu, 24 Mar 2022 21:09:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.25]) by kanga.kvack.org (Postfix) with ESMTP id B6BAB8D0001 for ; Thu, 24 Mar 2022 21:09:44 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 8A31D24F2D for ; Fri, 25 Mar 2022 01:09:44 +0000 (UTC) X-FDA: 79281126288.14.5262CCA Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf02.hostedemail.com (Postfix) with ESMTP id 0BD138001C for ; Fri, 25 Mar 2022 01:09:43 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D5B70B81DE2; Fri, 25 Mar 2022 01:09:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A404C340EC; Fri, 25 Mar 2022 01:09:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1648170581; bh=JEwlsmaCWsYPSfq4eMAfyXLhoiviqfYNsh02Ru88fq0=; h=Date:To:From:In-Reply-To:Subject:From; b=lvBSUYJJ0rJRnJx3HIaHwVNWCIZwr9mZ6jlykJWrLEM+Qq68v29n88az47NrtlzCE +nnNbMoSMSgCZ8OirjaqaUqvDwgLpb7xXT3M2XVz+7zYJ3BjJjiCt4veJNcqyOJ3Kl EwwFQ8P8mGi39yOTHdgeIKChBnKSP3aVkAq1QqaU= Date: Thu, 24 Mar 2022 18:09:40 -0700 To: david@redhat.com,hch@lst.de,akpm@linux-foundation.org,patches@lists.linux.dev,linux-mm@kvack.org,mm-commits@vger.kernel.org,torvalds@linux-foundation.org,akpm@linux-foundation.org From: Andrew Morton In-Reply-To: <20220324180758.96b1ac7e17675d6bc474485e@linux-foundation.org> Subject: [patch 022/114] mm: unexport page_init_poison Message-Id: <20220325010941.7A404C340EC@smtp.kernel.org> X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 0BD138001C X-Stat-Signature: 7y7t5cd6z5jfgqhcy73m49575wxbcpej Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=lvBSUYJJ; dmarc=none; spf=pass (imf02.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Rspam-User: X-HE-Tag: 1648170583-677006 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Christoph Hellwig Subject: mm: unexport page_init_poison page_init_poison is only used in core MM code, so unexport it. Link: https://lkml.kernel.org/r/20220207063446.1833404-1-hch@lst.de Signed-off-by: Christoph Hellwig Reviewed-by: David Hildenbrand Signed-off-by: Andrew Morton --- mm/debug.c | 1 - 1 file changed, 1 deletion(-) --- a/mm/debug.c~mm-unexport-page_init_poison +++ a/mm/debug.c @@ -261,5 +261,4 @@ void page_init_poison(struct page *page, if (page_init_poisoning) memset(page, PAGE_POISON_PATTERN, size); } -EXPORT_SYMBOL_GPL(page_init_poison); #endif /* CONFIG_DEBUG_VM */