]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mm: round the initrd reservation to page boundaries
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 16 Jan 2017 15:21:05 +0000 (15:21 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 28 Feb 2017 11:06:22 +0000 (11:06 +0000)
commit2ad7be38fcc5ad1482478f6157ca9b688c2a4698
treed44af6eb1705ca33d8b073e27d3bcfef1243d917
parentecbc1f6852ad6085dd67de8acaf5f4a490e97a6f
ARM: mm: round the initrd reservation to page boundaries

Round the initrd memblock reservation to page boundaries to prevent
other data sharing the initrd pages.  This prevents an allocation
possibly overlapping with the initrd, which would later get trampled
on in free_initrd_mem().

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/init.c