lkml.org 
[lkml]   [2004]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-03-22 14:02    [W:6.293 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site