summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/pismo.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-02-26 02:56:38 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-26 03:10:47 +0300
commit98e12b5a6e05413420a7e3b3eca7fbfc2ff41b6d (patch)
tree0d8e2d7f6dab7baf96da5a32678bd85095778853 /drivers/mtd/maps/pismo.c
parentbaac35c4155a8aa826c70acee6553368ca5243a2 (diff)
downloadlinux-98e12b5a6e05413420a7e3b3eca7fbfc2ff41b6d.tar.xz
ARM: Fix decompressor's kernel size estimation for ROM=y
Commit 2552fc2 changed the way the decompressor decides if it is safe to decompress the kernel directly to its final location. Unfortunately, it took the top of the compressed data as being the stack pointer, which it is for ROM=n cases. However, for ROM=y, the stack pointer is not relevant, and results in the wrong answer. Fix this by explicitly storing the end of the biggybacked data in the decompressor, and use that to calculate the compressed image size. CC: <stable@kernel.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mtd/maps/pismo.c')
0 files changed, 0 insertions, 0 deletions