]> 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>
Wed, 20 Feb 2013 02:14:13 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:29 +0000 (16:52 +1100)
commitbccb562601567afbeb50c7d9914b747b4e50e3ca
tree67085c0b07139fd97b0f6c4c1afef1b0ce8d60f4
parent96d64319fa3fd03e3e81eb92f1794af7512c1134
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