[PATCH] memblock: add NO_BOOTMEM config symbol

From: Sam Ravnborg
Date: Sat Aug 06 2011 - 15:11:24 EST


With the NO_BOOTMEM symbol added archistectures may now
use the following syntax to tell that they do not need bootmem:

select NO_BOOTMEM

This is much more convinient than adding a new kconfig symbol
which was otherwise required.

Addign this symbol does not conflict with the architctures that
already define their own symbol.

Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
Cc: Yinghai Lu <yinghai@xxxxxxxxxx>
---
diff --git a/mm/Kconfig b/mm/Kconfig
index 7c56971..af0047d 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -137,6 +137,9 @@ config HAVE_MEMBLOCK_NODE_MAP
config ARCH_DISCARD_MEMBLOCK
boolean

+config NO_BOOTMEM
+ boolean
+
# eventually, we can have this option just 'select SPARSEMEM'
config MEMORY_HOTPLUG
bool "Allow for memory hot-add"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/