Re: [PATCH] asm-ppc/elf.h warning

From: Greg Weeks
Date: Fri Mar 26 2004 - 16:43:00 EST

Meelis Roos wrote:

Can you try just removing <linux/elf.h> from everything in
arch/ppc/boot/ ?

elf.h include is present in arch/ppc/boot/simple/misc.c and
arch/ppc/boot/simple/misc-embedded.c. The first one caused my warning
and the include can be safely removed from there. The other file is not
used in my config (prep) but I did try to compile it with elf.h include
removed (make arch/ppc/boot/simple/misc-embedded.o) and it failed. So
here is the patch against arch/ppc/boot/simple/misc.c. Nevertheless,
asm-ppc/elf.h can not be included by itself without a warning about
struct task_struct - is this a problem or not?

I checked and I simply removed it when building for an ep8260. What board still needs it?

Greg Weeks
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at