diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2013-06-06 05:13:48 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-06-17 09:27:05 +0100 |
commit | 2874865c1271cc8e8b663804e5de4bc0c36273e1 (patch) | |
tree | 3a9f06764c84e8e5ca7da76e6cbe5f6bca0c2eb5 /arch/arm/kernel/traps.c | |
parent | 15e7e5c1ebf556cd620c9b091e121091ac760f6d (diff) | |
download | blackbird-obmc-linux-2874865c1271cc8e8b663804e5de4bc0c36273e1.tar.gz blackbird-obmc-linux-2874865c1271cc8e8b663804e5de4bc0c36273e1.zip |
ARM: 7751/1: zImage: don't overwrite ourself with a page table
When zImage is loaded into RAM at a low address but TEXT_OFFSET
is set higher, we risk overwriting ourself with the page table
needed to turn on the cache as it is located relative to the relocation
address. Let's defer the cache setup after relocation in that case.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Reported-by: Stephen Boyd <sboyd@codeurora.org>
Tested-by: Stephen Boyd <sboyd@codeurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions