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>
This commit is contained in:
parent
9c8a0a8e59
commit
1a9762b2d7
|
@ -261,5 +261,4 @@ void page_init_poison(struct page *page, size_t size)
|
||||||
if (page_init_poisoning)
|
if (page_init_poisoning)
|
||||||
memset(page, PAGE_POISON_PATTERN, size);
|
memset(page, PAGE_POISON_PATTERN, size);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(page_init_poison);
|
|
||||||
#endif /* CONFIG_DEBUG_VM */
|
#endif /* CONFIG_DEBUG_VM */
|
||||||
|
|
Loading…
Reference in New Issue