From patchwork Mon Feb 7 06:34:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 12736946 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 24D40C433F5 for ; Mon, 7 Feb 2022 06:34:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A9C786B0078; Mon, 7 Feb 2022 01:34:49 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A4CD06B007B; Mon, 7 Feb 2022 01:34:49 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 93B846B007D; Mon, 7 Feb 2022 01:34:49 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0246.hostedemail.com [216.40.44.246]) by kanga.kvack.org (Postfix) with ESMTP id 86CE76B0078 for ; Mon, 7 Feb 2022 01:34:49 -0500 (EST) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 430A0901B3 for ; Mon, 7 Feb 2022 06:34:49 +0000 (UTC) X-FDA: 79115020698.16.07EEA9F Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf10.hostedemail.com (Postfix) with ESMTP id E8207C0002 for ; Mon, 7 Feb 2022 06:34:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=0niKeA2ZVwSHv/izO/npN2EQWje9wiGYw9lY/dAcLOE=; b=txHcxsPCa0p1RwnUh6KepzK73D /R2XuPGPvknUoNrkR52/bEV7T/zsXb5uLfr2VFqW6EisErBJAvmaucDJb9jmB69n/B60ANBQC1glk 5h4jri2y0yOaDPYHMhpLBHl8jP5mlBrdDEmcKyqNLWUNP/ZoRljkwAE8yetDjN0mFM7XN/ZFAEips lWRSJaiZi7xKX+qfy+Rtgn5NIsv0FxOfsXrL8XpU9BEuj0VqhkNIMtgPElQfa77xp++K9gCj99P6+ ozCX3Rsg8ooiHuAiSIMgyqcv0QaMtqFrmx+SY1CiL/M2CDoPPQt/a/27nOnYKVq9QdL5q6i2k1FBd guU5rSeA==; Received: from [2001:4bb8:188:3efc:2cbe:55d7:bb63:46d2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nGxbr-0099nG-Ha; Mon, 07 Feb 2022 06:34:47 +0000 From: Christoph Hellwig To: akpm@linux-foundation.org Cc: linux-mm@kvack.org Subject: [PATCH] mm: unexport page_init_poison Date: Mon, 7 Feb 2022 07:34:46 +0100 Message-Id: <20220207063446.1833404-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Stat-Signature: qnaeegqow3acwa1773mnqrqcdfiea8qb X-Rspam-User: nil Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=txHcxsPC; spf=none (imf10.hostedemail.com: domain of BATV+0c52a814cb66561dc7fc+6742+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+0c52a814cb66561dc7fc+6742+infradead.org+hch@bombadil.srs.infradead.org; dmarc=none X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: E8207C0002 X-HE-Tag: 1644215688-882199 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: page_init_poison is only used in core MM code, so unexport it. Signed-off-by: Christoph Hellwig Reviewed-by: David Hildenbrand --- mm/debug.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/debug.c b/mm/debug.c index bc9ac87f0e08d0..8b43dbb2f17bea 100644 --- a/mm/debug.c +++ b/mm/debug.c @@ -265,5 +265,4 @@ void page_init_poison(struct page *page, size_t size) if (page_init_poisoning) memset(page, PAGE_POISON_PATTERN, size); } -EXPORT_SYMBOL_GPL(page_init_poison); #endif /* CONFIG_DEBUG_VM */