]> git.baikalelectronics.ru Git - kernel.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)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 29 Jul 2014 10:41:54 +0000 (11:41 +0100)
commit5620311307aa1742522dd697b5df8e8a3698bf23
tree77b6727f3f87ecf204f8c36a4bd2d43728637477
parentc0abfe8a05fcefdd128a4fedf0e72452bfe500bd
ARM: fix alignment of keystone page table fixup

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: f84722453d05 ("ARM: mm: Recreate kernel mappings in early_paging_init()")
Cc: <stable@vger.kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mmu.c