OSDN Git Service

x86, mm: kill numa_free_all_bootmem()
authorYinghai Lu <yinghai@kernel.org>
Sat, 17 Nov 2012 03:39:19 +0000 (19:39 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 17 Nov 2012 19:59:47 +0000 (11:59 -0800)
commit94b43c3d86dddf95064fc83e9087448b35f985ff
tree5019906f1e5ecdb581f66ba4958eb1ad4c2f9144
parentb8fd39c036ab982aa087b7ee671f86e2574d31f2
x86, mm: kill numa_free_all_bootmem()

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
instead.

That is confusing, try to kill that free_all_bootmem_node().

Before that, this patch will remove numa_free_all_bootmem().

That function could be replaced with register_page_bootmem_info() and
free_all_bootmem();

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-43-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/numa_64.h
arch/x86/mm/init_64.c
arch/x86/mm/numa_64.c