]> 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)
commit3184d30ded4e3137265ad1ed678240f0e9646da9
treed44af6eb1705ca33d8b073e27d3bcfef1243d917
parentda69294fed30a02b4e23b6fa9df87b2ea0576e8a
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