ARM: 6031/1: fix Thumb-2 decompressor
commit88f4affa120a63961a7dbd677539b1a89f8f8cfe
authorRabin Vincent <rabin@rab.in>
Wed, 7 Apr 2010 17:10:20 +0000 (7 18:10 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:47:52 +0000 (26 07:47 -0700)
tree6d1559fad80d46117deec5c6f35461f608ba1bca
parenta426c6e7ec8c7208cfcaf1a57d10d4d07c5e7f3f
ARM: 6031/1: fix Thumb-2 decompressor

commit d4d9959c099751158c5cf14813fe378e206339c6 upstream.

98e12b5a6e05413 ("ARM: Fix decompressor's kernel size estimation for
ROM=y") broke the Thumb-2 decompressor because it added an entry in the
LC0 table but didn't adjust the offset the Thumb-2 code uses to load the
SP from that table.  Fix it.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/boot/compressed/head.S