[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: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Martin Bligh <mbligh@aracnet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Andy Whitcroft 2005-06-23 00:07:53 -07:00 коммит произвёл Linus Torvalds
Родитель b159d43fbf
Коммит af705362ab
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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