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

Geoff Levand geoffrey.levand at am.sony.com
Sun Feb 18 12:22:19 EST 2007


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.

-Geoff





More information about the Linuxppc-dev mailing list