From e83638bcc8ac4a955c6dd4776634a3ca7a6f3b54 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 15 Feb 2022 13:15:51 +1100 Subject: [PATCH] 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: Stephen Rothwell --- 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 */