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)
commitcdcc5fa0415d943288c6316bd32e76befb1027c5
treed44af6eb1705ca33d8b073e27d3bcfef1243d917
parent68b32f361f3892fc376051b1702954b2dc692d13
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