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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Dec 2013 06:36:26 +0000 (22:36 -0800)
commitd47787bdf7cd4dfccfaffdab00b5b593d6270a6a
tree5c740049f04406e6d091e0e35465e46bd6dee9cc
parent1c651d3627a2d3ba10f2f116303ca620e17b14d5
ARM: fix booting low-vectors machines

commit d8aa712c30148ba26fd89a5dc14de95d4c375184 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/include/asm/pgtable.h
arch/arm/mm/mmap.c
arch/arm/mm/pgd.c