aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2005-06-23 00:07:53 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-23 09:45:04 -0700
commitaf705362ab6018071310c5fcd436a6b457517d5f (patch)
tree429e505558ee98e19b08ade8d02eedc3fee2478b /mm
parentb159d43fbf7eaaac6ecc647f51cf4257332db47b (diff)
downloadkernel_samsung_tuna-af705362ab6018071310c5fcd436a6b457517d5f.zip
kernel_samsung_tuna-af705362ab6018071310c5fcd436a6b457517d5f.tar.gz
kernel_samsung_tuna-af705362ab6018071310c5fcd436a6b457517d5f.tar.bz2
[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>
Diffstat (limited to 'mm')
-rw-r--r--mm/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 8283685..5127441 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -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