Skip to content

Commit 55ce6e2

Browse files
Christoph Hellwigdjbw
authored andcommitted
mm: don't export __add_pages
This function isn't used by any modules, and is only to be called from core MM code. This includes the calls for the add_pages wrapper that might be inlined. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent 4dfeeaa commit 55ce6e2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mm/memory_hotplug.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ int __ref __add_pages(int nid, unsigned long phys_start_pfn,
334334
out:
335335
return err;
336336
}
337-
EXPORT_SYMBOL_GPL(__add_pages);
338337

339338
#ifdef CONFIG_MEMORY_HOTREMOVE
340339
/* find the smallest valid pfn in the range [start_pfn, end_pfn) */

0 commit comments

Comments
 (0)