diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-11-16 19:39:22 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-11-17 11:59:50 -0800 |
commit | 600cc5b7f6371706679490d7ee108015ae57ac2f (patch) | |
tree | d6204a07a822f3f3dc63146cd2ce3f054c4a4b69 /mm/nobootmem.c | |
parent | 961f8fa04b1c3dfe35c2d3ee7ccba28f9b0e0e09 (diff) | |
download | talos-obmc-linux-600cc5b7f6371706679490d7ee108015ae57ac2f.tar.gz talos-obmc-linux-600cc5b7f6371706679490d7ee108015ae57ac2f.zip |
mm: Kill NO_BOOTMEM version free_all_bootmem_node()
Now NO_BOOTMEM version free_all_bootmem_node() does not really
do free_bootmem at all, and it only call register_page_bootmem_info_node
for online nodes instead.
That is confusing.
We can kill that free_all_bootmem_node(), after we kill two callings
in x86 and sparc.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-46-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'mm/nobootmem.c')
-rw-r--r-- | mm/nobootmem.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/mm/nobootmem.c b/mm/nobootmem.c index bd82f6b31411..ecc2f13d557d 100644 --- a/mm/nobootmem.c +++ b/mm/nobootmem.c @@ -138,20 +138,6 @@ unsigned long __init free_low_memory_core_early(int nodeid) } /** - * free_all_bootmem_node - release a node's free pages to the buddy allocator - * @pgdat: node to be released - * - * Returns the number of pages actually released. - */ -unsigned long __init free_all_bootmem_node(pg_data_t *pgdat) -{ - register_page_bootmem_info_node(pgdat); - - /* free_low_memory_core_early(MAX_NUMNODES) will be called later */ - return 0; -} - -/** * free_all_bootmem - release free pages to the buddy allocator * * Returns the number of pages actually released. |