From: Nicolas Pitre Date: Thu, 6 Jun 2013 04:13:48 +0000 (+0100) Subject: ARM: 7751/1: zImage: don't overwrite ourself with a page table X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~41^2~1^3~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2874865c1271cc8e8b663804e5de4bc0c36273e1;p=pandora-kernel.git 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 Reported-by: Stephen Boyd Tested-by: Stephen Boyd Signed-off-by: Russell King --- Reading git-diff-tree failed