[PATCH 15/19] ppc64: Move iSeries initrd logic into device tree
Benjamin Herrenschmidt
benh at kernel.crashing.org
Wed Jul 27 01:58:30 EST 2005
On Tue, 2005-07-26 at 18:58 +1000, Michael Ellerman wrote:
> + /* XXX This came from iSeries code, make sure ram disk is big enough */
> + if ((rd_size * 1024) < (initrd_end - initrd_start))
> + rd_size = (initrd_end - initrd_start) / 1024;
> +
Will probably not work in practice. initrd is compressed at this point,
but the rd_size is the uncompressed max size. Also, we can use
initrd_start to pass an initramfs, in which case rd_size is irrelevant.
I'd say just ditch it.
Ben.
More information about the Linuxppc64-dev
mailing list