]> err.no Git - linux-2.6/commit
sh: disable initrd defaults in .empty_zero_page.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 13 May 2008 08:41:46 +0000 (17:41 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 16 May 2008 05:55:07 +0000 (14:55 +0900)
commit972ad0e0d51b67b862ae6143d858fb7da2f2a5f6
tree2b275df09daecc2489c2223c62dacb37306cd1f7
parent0105346cc763a6e34e80feb6adb36ed9781150d4
sh: disable initrd defaults in .empty_zero_page.

When using initramfs on systems that don't explicitly clear LOADER_TYPE,
unpack_to_rootfs() tramples tramples the range with the defaults taken
out of .empty_zero_page. This causes kernels with valid initramfs images
to bail out with crc or gzip magic mismatch errors after the second
unpack takes place on certain platform configurations.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/head_32.S