Skip to content
Commit 972ad0e0 authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 0105346c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment