ARM: zImage: Fix bad SP address after relocating kernel
authorTony Lindgren <tony@atomide.com>
Tue, 26 Apr 2011 12:37:46 +0000 (05:37 -0700)
committerNicolas Pitre <nico@fluxnic.net>
Sat, 7 May 2011 03:56:43 +0000 (23:56 -0400)
commit7c2527f0c4bf6bd096f58296597e1373387d69fd
treea140c9d2864d3949b91a8265f93a0447bafcee71
parent3bd2cbb95543acf44fe123eb9f038de54e655eb4
ARM: zImage: Fix bad SP address after relocating kernel

Otherwise cache_clean_flush can overwrite some of the relocated
area depending on where the kernel image gets loaded. This fixes
booting on n900 after commit 6d7d0ae51574943bf571d269da3243257a2d15db
(ARM: 6750/1: improvements to compressed/head.S).

Thanks to Aaro Koskinen <aaro.koskinen@nokia.com> for debugging
the address of the relocated area that gets corrupted, and to
Nicolas Pitre <nicolas.pitre@linaro.org> for the other uncompress
related fixes.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/boot/compressed/head.S