summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-08-15 10:15:10 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-08-15 10:15:10 +0930
commite22a539824e8ddb82c87b4f415165ede82e6ab56 (patch)
tree39d68ab2ad811abc19a1fc1595fd71a37df43aae /drivers/mtd
parentc3c53a073247ee7522ca80393319540db9f4dc1e (diff)
lguest: allow booting guest with CONFIG_RELOCATABLE=y
The CONFIG_RELOCATABLE code tries to align the unpack destination to the value of 'kernel_alignment' in the setup_hdr. If that's 0, it tries to unpack to address 0, which in fact causes the gunzip code to call 'error("Out of memory while allocating output buffer")'. The bootloader (ie. the lguest Launcher in this case) should be doing setting this field; the normal bzImage is 16M, we can use the same. Reported-by: Stefanos Geraggelos <sgerag@cslab.ece.ntua.gr> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: stable@kernel.org
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions