]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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 23:53:51 +0000 (16:53 -0700)
commit1ecf0db5d976dbbe1a7105876ca99ce5ffb4ec71
tree3bb6d98f6512f28d4b544259ffd332fce3da4cfd
parent48959fb92669fd77d46b59ef742b61ab97870291
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