[PATCH 2/3] ARM: compressed/misc.c: simplify decompress_kernel()

Tony Lindgren tony at atomide.com
Thu Apr 21 08:49:47 EDT 2011

* Nicolas Pitre <nicolas.pitre at linaro.org> [110420 07:12]:
> The return value for decompress_kernel() is no longer used.  Furthermore,
> this was obtained and stored in a variable called output_ptr which is
> a complete misnomer for what is actually the size of the decompressed
> kernel image.  Let's get rid of it.
> Signed-off-by: Nicolas Pitre <nicolas.pitre at linaro.org>

Works for me:

Tested-by: Tony Lindgren <tony at atomide.com>

> BTW, I've yet to understand why, but this patch makes CONFIG_KERNEL_LZMA
> work for me.

Maybe the compressed image size changes slightly so the compressed
image end no longer goes past the uncompressed kernel end and relocate
works properly? Maybe see if the patch I posted solves your LZMA
issue even without this patch?


More information about the linux-arm-kernel mailing list