]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited15ee09a0d2b564d3f07f9f26ac6afeaac6fcc3
treea140c9d2864d3949b91a8265f93a0447bafcee71
parente8370be9ecdc3edf820d3769a9d86c47dccd656c
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 875e35fc49e415e96858b311760ce82c33ed1f43
(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