]> err.no Git - linux-2.6/commitdiff
[PATCH] generify memory present
authorAndy Whitcroft <apw@shadowen.org>
Thu, 23 Jun 2005 07:07:53 +0000 (00:07 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:04 +0000 (09:45 -0700)
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>
arch/i386/Kconfig
mm/Kconfig

index a8128f9973394ec306725b465f7d5f20dc181b75..3b7248126d295596fb59259bb6d52eccc2fcb566 100644 (file)
@@ -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
index 8283685f3bb3098c5a04120936f836ebb3342a4b..5127441561b44588235bb6f330bb298784021f9b 100644 (file)
@@ -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