]> 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)
commite7ccf28cea47393d148ad8c9a4ccc0570615040b
treef73ff96404512a4d1a91324c4f268f8cb5fde5f1
parent477a54ed5cd65811a6dc421d61168da7f3d84719
ARM: 8572/1: nommu: change memory reserve for the vectors

Commit 2c628e5b (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