]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3978af9c15eb68165ac1a743a6a1a3c3b00b44ec
treef73ff96404512a4d1a91324c4f268f8cb5fde5f1
parentfb1efc6a84d993c9de0e1b3ec55610753d4bc5f1
ARM: 8572/1: nommu: change memory reserve for the vectors

Commit 401dce26 (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