]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memory-hotplug: introduce CONFIG_HAVE_BOOTMEM_INFO_NODE and revert register_page_boot...
authorLin Feng <linfeng@cn.fujitsu.com>
Thu, 7 Feb 2013 01:26:25 +0000 (12:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:24 +0000 (16:46 +1100)
commit3efb2e7d3d5b983d3c5e59bff36621304490e125
treef7e65084ad4ec0f5d88d62602017e3f2af65e0bb
parent6be76338b72e86ccc596d98d438ee01d9f1d8ab9
memory-hotplug: introduce CONFIG_HAVE_BOOTMEM_INFO_NODE and revert register_page_bootmem_info_node() when platform not support

It's implemented by adding a new Kconfig option named
CONFIG_HAVE_BOOTMEM_INFO_NODE, which will be automatically selected by
memory-hotplug feature fully supported archs(currently only on x86_64).

Signed-off-by: Lin Feng <linfeng@cn.fujitsu.com>
Reported-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/mm/init_64.c
include/linux/memory_hotplug.h
mm/Kconfig
mm/memory_hotplug.c