aboutsummaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2011-10-31 20:08:20 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-10-31 20:30:47 -0400
commit6661672053aee709d93f5dbd7887c789364c11d4 (patch)
tree9d11bdb001d4e08cb03f8fffb1e499a9204408d1 /mm/Kconfig
parent0a93ebef698b08ed04af0d7d913bab8aedfdc253 (diff)
memblock: add NO_BOOTMEM config symbol
With the NO_BOOTMEM symbol added architectures 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. Adding this symbol does not conflict with the architctures that already define their own symbol. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Yinghai Lu <yinghai@kernel.org> Acked-by: Tejun Heo <tj@kernel.org> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig')
-rw-r--r--mm/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index f2f1ca19ed53..011b110365c8 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -131,6 +131,9 @@ config SPARSEMEM_VMEMMAP
131config HAVE_MEMBLOCK 131config HAVE_MEMBLOCK
132 boolean 132 boolean
133 133
134config NO_BOOTMEM
135 boolean
136
134# eventually, we can have this option just 'select SPARSEMEM' 137# eventually, we can have this option just 'select SPARSEMEM'
135config MEMORY_HOTPLUG 138config MEMORY_HOTPLUG
136 bool "Allow for memory hot-add" 139 bool "Allow for memory hot-add"