summaryrefslogtreecommitdiffstats
path: root/mm/debug.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-03-25 02:09:40 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-25 03:06:45 +0100
commit1a9762b2d7a56e9926a22a627972423840a1aabb (patch)
treeff402c48fd4b65140fab77db5e567027e966cbd8 /mm/debug.c
parenttools/vm/page_owner_sort.c: support for user-defined culling rules (diff)
downloadlinux-1a9762b2d7a56e9926a22a627972423840a1aabb.tar.xz
linux-1a9762b2d7a56e9926a22a627972423840a1aabb.zip
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 <hch@lst.de> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/debug.c')
-rw-r--r--mm/debug.c1
1 files changed, 0 insertions, 1 deletions
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 */