aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-02-25 23:56:38 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-01 16:01:09 -0700
commit6c6a223088cf477b941fd57806dd0187ada219a0 (patch)
treec2b857cfe680a7eb325594c17007a860b2815c84 /security
parentd47325e5f164717e0b9f9158c5cd1b3acc30d7b3 (diff)
ARM: Fix decompressor's kernel size estimation for ROM=y
commit 98e12b5a6e05413420a7e3b3eca7fbfc2ff41b6d upstream. 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. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions