From: Christoph Hellwig Date: Fri, 25 Mar 2022 01:09:40 +0000 (-0700) Subject: mm: unexport page_init_poison X-Git-Tag: v5.18-rc1~120^2~91 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=1a9762b2d7a56e9926a22a627972423840a1aabb;p=linux-2.6-block.git 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 Signed-off-by: Linus Torvalds --- diff --git a/mm/debug.c b/mm/debug.c index eeb7ea3ca292..bef329bf28f0 100644 --- a/mm/debug.c +++ b/mm/debug.c @@ -261,5 +261,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 */