[PATCH 2/3] zImage: Cleanup and improve prep_kernel()

David Gibson david at gibson.dropbear.id.au
Sun Feb 18 18:21:09 EST 2007


On Sat, Feb 17, 2007 at 05:22:19PM -0800, Geoff Levand wrote:
> David Gibson wrote:
> > This patch rewrites prep_kernel() in the zImage wrapper code to be
> > clearer and more flexible.  Notable changes:
> 
> > --- working-2.6.orig/arch/powerpc/boot/main.c
> 
> > +struct elf_info {
> > +	unsigned long loadsize;
> > +	unsigned long memsize;
> > +	unsigned long elfoffset;
> > +} vmlinux;
> 
> 
> This global instance (vmlinux) doesn't seem to be used anywhere, so
> it can be removed.

Oh, yes.  Oops, that's a leftover from an intermediate version.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list