mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
mm/memblock: add physical memory list
Add the physmem list to the memblock structure. This list only exists if HAVE_MEMBLOCK_PHYS_MAP is selected and contains the unmodified list of physically available memory. It differs from the memblock memory list as it always contains all memory ranges even if the memory has been restricted, e.g. by use of the mem= kernel parameter. Signed-off-by: Philipp Hachtmann <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
f1af9d3af3
commit
70210ed950
3 changed files with 19 additions and 0 deletions
|
|
@ -134,6 +134,9 @@ config HAVE_MEMBLOCK
|
|||
config HAVE_MEMBLOCK_NODE_MAP
|
||||
boolean
|
||||
|
||||
config HAVE_MEMBLOCK_PHYS_MAP
|
||||
boolean
|
||||
|
||||
config ARCH_DISCARD_MEMBLOCK
|
||||
boolean
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue