diff options
author | Will Deacon <will.deacon@arm.com> | 2011-08-26 16:34:51 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-28 10:39:53 +0100 |
commit | 0f81bb6b051ad760686b5b0fef8c731282c16ef5 (patch) | |
tree | 7af7ac41d68c1bf81a64745880645883c6e17417 /arch/arm/mm/proc-arm922.S | |
parent | 552e0c8da8ff7099e6fe060cd7ec36ae11f5465b (diff) |
ARM: 7066/1: proc-v7: disable SCTLR.TE when disabling MMU
cpu_v7_reset disables the MMU and then branches to the provided address.
On Thumb-2 kernels, we should take care to clear the Thumb Exception
enable bit in the System Control Register, otherwise this may wreak
havok in the code to which we are branching (for example, an ARM kernel
image via kexec).
Reviewed-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/proc-arm922.S')
0 files changed, 0 insertions, 0 deletions