aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/kernel
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2006-11-16 15:31:32 +1100
committerPaul Mackerras <paulus@samba.org>2006-12-04 20:39:32 +1100
commitf79e083c2fab601a1c382282344f5a251557dbac (patch)
tree91152ed552cf67b83de15843cd479ae3fad8993f /arch/i386/kernel
parent3e00a5aec3d6af687e37f4e7482f5c7ecdcabd0b (diff)
[POWERPC] Small clarification of initrd handling
This patch makes the handling of the initrd (or initramfs) in the zImage wrapper a little easier to follow. Instead of passing the initrd addresses out from prep_kernel() via the cryptic a1 and a2 parameters, use the global struct add_range, 'initrd'. prep_kernel() already passes information through the 'vmlinux' addr_range struct, so this seems like a reasonable extension. Some comments also clarify the logic with prep_kernel(): we use an initrd included in the zImage if present, otherwise we use an initrd passed in by the bootloader in the a1 and a2 parameters (yaboot, at least, uses this mechanism to pass an initrd). Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/i386/kernel')
0 files changed, 0 insertions, 0 deletions