• R
    ARM: Fix decompressor's kernel size estimation for ROM=y · 98e12b5a
    Russell King 提交于
    Commit 2552fc27 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: NRussell King <rmk+kernel@arm.linux.org.uk>
    98e12b5a
vmlinux.lds.in 1.2 KB