Messages in this thread | | | Date | Fri, 26 Mar 2004 10:43:38 -0700 | From | Tom Rini <> | Subject | Re: [PATCH] asm-ppc/elf.h warning |
| |
On Fri, Mar 26, 2004 at 07:33:55PM +0200, Meelis Roos wrote:
> Just got this from current 2.6 BK: > > CC arch/ppc/boot/simple/misc.o > In file included from include/linux/elf.h:5, > from arch/ppc/boot/simple/misc.c:20: > include/asm/elf.h:102: warning: `struct task_struct' declared inside parameter list > include/asm/elf.h:102: warning: its scope is only this definition or declaration, which is probably not what you want > > This can be cured by either including linux/sched.h or defining > struct task_struct; > (like this - maybe it should be more close to the headers)
Can you try just removing <linux/elf.h> from everything in arch/ppc/boot/ ?
-- Tom Rini http://gate.crashing.org/~trini/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |