https://github.com/torvalds/linux
Revision 0f81bb6b051ad760686b5b0fef8c731282c16ef5 authored by Will Deacon on 26 August 2011, 15:34:51 UTC, committed by Russell King on 28 August 2011, 09:39:53 UTC
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>
1 parent 552e0c8
History
Tip revision: 0f81bb6b051ad760686b5b0fef8c731282c16ef5 authored by Will Deacon on 26 August 2011, 15:34:51 UTC
ARM: 7066/1: proc-v7: disable SCTLR.TE when disabling MMU
Tip revision: 0f81bb6

back to top