]> git.baikalelectronics.ru Git - kernel.git/commit
memblock: add NO_BOOTMEM config symbol
authorSam Ravnborg <sam@ravnborg.org>
Tue, 1 Nov 2011 00:08:20 +0000 (17:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:30:47 +0000 (17:30 -0700)
commitac0c6a4967e8d18692b4faac7bcd64f1f3bbc347
tree9d11bdb001d4e08cb03f8fffb1e499a9204408d1
parent93f0f8975f725bdb01e95bc9fb89e3a237a3991a
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>
mm/Kconfig