Re: [PATCH] memblock: add NO_BOOTMEM config symbol
From: Tejun Heo
Date: Mon Aug 08 2011 - 05:35:07 EST
On Sat, Aug 06, 2011 at 09:11:11PM +0200, Sam Ravnborg wrote:
> 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>
Acked-by: Tejun Heo <tj@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
> +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/