提交 af705362 编写于 作者: A Andy Whitcroft 提交者: Linus Torvalds

[PATCH] generify memory present

Allow architectures to indicate that they will be providing hooks to indice
installed memory areas, memory_present().  Provide prototypes for the i386
implementation.
Signed-off-by: NAndy Whitcroft <apw@shadowen.org>
Signed-off-by: NDave Hansen <haveblue@us.ibm.com>
Signed-off-by: NMartin Bligh <mbligh@aracnet.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 b159d43f
......@@ -793,7 +793,7 @@ config HAVE_ARCH_BOOTMEM_NODE
depends on NUMA
default y
config HAVE_MEMORY_PRESENT
config ARCH_HAVE_MEMORY_PRESENT
bool
depends on DISCONTIGMEM
default y
......
......@@ -53,3 +53,7 @@ config FLATMEM
config NEED_MULTIPLE_NODES
def_bool y
depends on DISCONTIGMEM || NUMA
config HAVE_MEMORY_PRESENT
def_bool y
depends on ARCH_HAVE_MEMORY_PRESENT
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册