ARM: fix alignment of keystone page table fixup
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 29 Jul 2014 08:24:47 +0000 (09:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Aug 2014 21:52:36 +0000 (14:52 -0700)
commita406f3b4cd123c2d0dbc985237b8b903b774dccd
tree5cb77f3a6b984950c6025ec0902e82b0e61d0134
parent8702256f25b7a6955fcb94c4f2901b7410f080ee
ARM: fix alignment of keystone page table fixup

commit 823a19cd3b91b0729d7417f1848413846be61712 upstream.

If init_mm.brk is not section aligned, the LPAE fixup code will miss
updating the final PMD.  Fix this by aligning map_end.

Fixes: a77e0c7b2774 ("ARM: mm: Recreate kernel mappings in early_paging_init()")
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mm/mmu.c