Skip to content

Commit

Permalink
mm: unexport page_init_poison
Browse files Browse the repository at this point in the history
page_init_poison is only used in core MM code, so unexport it.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Christoph Hellwig authored and torvalds committed Mar 25, 2022
1 parent 9c8a0a8 commit 1a9762b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mm/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 1a9762b

Please sign in to comment.