Commit 77b2eeb1 authored by Jeff Garzik's avatar Jeff Garzik

Kill stupid bug in initramfs that prevented it from working.

(thanks to Al Viro for his patience, I owe him one)
parent d7297a6f
......@@ -453,10 +453,10 @@ static void __init unpack_to_rootfs(char *buf, unsigned len)
free(header_buf);
}
extern unsigned long __initramfs_start, __initramfs_end;
extern char __initramfs_start, __initramfs_end;
void __init populate_rootfs(void)
{
unpack_to_rootfs((void *) &__initramfs_start,
unpack_to_rootfs(&__initramfs_start,
&__initramfs_end - &__initramfs_start);
}
Markdown is supported
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