generify memory present
Subsystems (2)
PATCH 2/6 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 <[email protected]>
Signed-off-by Dave Hansen <[email protected]>
Signed-off-by Martin Bligh <[email protected]>
--- arch/i386/Kconfig | 2 +- mm/Kconfig | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-)
arch/i386/Kconfig +1 -1
@@ -777,7 +777,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
mm/Kconfig +4 -0
@@ -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
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>