]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memblock: add physical memory list
authorPhilipp Hachtmann <phacht@linux.vnet.ibm.com>
Wed, 29 Jan 2014 17:16:01 +0000 (18:16 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 20 May 2014 06:58:39 +0000 (08:58 +0200)
commit3a45bfb137f87610669b29af79f775bda51316e4
tree8f924bff7152d8528be40c1995a8330b6a5ac70d
parent12d9ed56b63b7e77955947ecc351d7ab61bfe1dd
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 <phacht@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/linux/memblock.h
mm/Kconfig
mm/memblock.c