ARM: 8572/1: nommu: change memory reserve for the vectors
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Wed, 4 May 2016 09:38:12 +0000 (10:38 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 5 May 2016 18:03:02 +0000 (19:03 +0100)
commit5b526bd92511a12807a51b7bedd16af03e99bc33
treef73ff96404512a4d1a91324c4f268f8cb5fde5f1
parent695665b0c5237bee8a3d0099ea856282d5d8f25b
ARM: 8572/1: nommu: change memory reserve for the vectors

Commit 19accfd3 (ARM: move vector stubs) moved the vector stubs in an
additional page above the base vector one. This change wasn't taken into
account by the nommu memreserve.
This patch ensures that the kernel won't overwrite any vector stub on
nommu.

[changed the MPU side too]

Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head-nommu.S
arch/arm/mm/nommu.c