ARM: fix booting low-vectors machines
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 28 Nov 2013 21:43:40 +0000 (21:43 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 30 Nov 2013 14:45:31 +0000 (14:45 +0000)
commitd8aa712c30148ba26fd89a5dc14de95d4c375184
tree61f15d12929d3dd19dbf0589035777cb2751a476
parent11a5aa32562e1e90ab2d0278748fe0fbecda1cbe
ARM: fix booting low-vectors machines

Commit f6f91b0d9fd9 (ARM: allow kuser helpers to be removed from the
vector page) required two pages for the vectors code.  Although the
code setting up the initial page tables was updated, the code which
allocates page tables for new processes wasn't, neither was the code
which tears down the mappings.  Fix this.

Fixes: f6f91b0d9fd9 ("ARM: allow kuser helpers to be removed from the vector page")
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: <stable@vger.kernel.org>
arch/arm/include/asm/pgtable.h
arch/arm/mm/mmap.c
arch/arm/mm/pgd.c