linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
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	[thread overview]
Message-ID: <20220207063446.1833404-1-hch@lst.de> (raw)

page_init_poison is only used in core MM code, so unexport it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 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 */
-- 
2.30.2



             reply	other threads:[~2022-02-07  6:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07  6:34 Christoph Hellwig [this message]
2022-02-07 10:33 ` David Hildenbrand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220207063446.1833404-1-hch@lst.de \
    --to=hch@lst.de \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox