From: Christoph Hellwig <hch@xxxxxx> Subject: mm: unexport free_reserved_area This function is only used by built-in code, which makes perfect sense given the purpose of it. Link: http://lkml.kernel.org/r/20190213174621.29297-2-hch@xxxxxx Signed-off-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 1 - 1 file changed, 1 deletion(-) --- a/mm/page_alloc.c~mm-unexport-free_reserved_area +++ a/mm/page_alloc.c @@ -7341,7 +7341,6 @@ unsigned long free_reserved_area(void *s return pages; } -EXPORT_SYMBOL(free_reserved_area); #ifdef CONFIG_HIGHMEM void free_highmem_page(struct page *page) _