[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110806191111.GB8494@merkur.ravnborg.org>
Date: Sat, 6 Aug 2011 21:11:11 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Tejun Heo <tj@...nel.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
Yinghai Lu <yinghai@...nel.org>
Subject: [PATCH] memblock: add NO_BOOTMEM config symbol
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@...nborg.org>
Cc: Yinghai Lu <yinghai@...nel.org>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists