aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2005-06-23 03:07:53 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-23 12:45:04 -0400
commitaf705362ab6018071310c5fcd436a6b457517d5f (patch)
tree429e505558ee98e19b08ade8d02eedc3fee2478b
parentb159d43fbf7eaaac6ecc647f51cf4257332db47b (diff)
[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>
-rw-r--r--arch/i386/Kconfig2
-rw-r--r--mm/Kconfig4
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig
index a8128f997339..3b7248126d29 100644
--- a/arch/i386/Kconfig
+++ b/arch/i386/Kconfig
@@ -793,7 +793,7 @@ config HAVE_ARCH_BOOTMEM_NODE
793 depends on NUMA 793 depends on NUMA
794 default y 794 default y
795 795
796config HAVE_MEMORY_PRESENT 796config ARCH_HAVE_MEMORY_PRESENT
797 bool 797 bool
798 depends on DISCONTIGMEM 798 depends on DISCONTIGMEM
799 default y 799 default y
diff --git a/mm/Kconfig b/mm/Kconfig
index 8283685f3bb3..5127441561b4 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -53,3 +53,7 @@ config FLATMEM
53config NEED_MULTIPLE_NODES 53config NEED_MULTIPLE_NODES
54 def_bool y 54 def_bool y
55 depends on DISCONTIGMEM || NUMA 55 depends on DISCONTIGMEM || NUMA
56
57config HAVE_MEMORY_PRESENT
58 def_bool y
59 depends on ARCH_HAVE_MEMORY_PRESENT