[lkml]   [2004]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] asm-ppc/elf.h warning
    On Fri, Mar 26, 2004 at 08:00:06PM +0200, 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.

    Ok, I'll look into that myself.

    > Nevertheless,
    > asm-ppc/elf.h can not be included by itself without a warning about
    > struct task_struct - is this a problem or not?

    It depends on if (a) other arches have a task_struct-needing extern in
    this file and (b) what do they do? There's at least a few #includes
    with implicit #include requirements out there, i _think_.

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

     \ /
      Last update: 2005-03-22 14:02    [W:0.018 / U:182.804 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site