[lkml]   [2007]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] cross-architecture ELF clean up
    Paul Mackerras wrote:
    >> ===================================================================
    >> --- a/arch/powerpc/platforms/cell/io-workarounds.c
    >> +++ b/arch/powerpc/platforms/cell/io-workarounds.c
    >> @@ -9,6 +9,7 @@
    >> #undef DEBUG
    >> #include <linux/kernel.h>
    >> +#include <linux/sched.h>
    > Why is this needed? You've added #include <linux/sched.h> to 7 files
    > without explanation - and I can't see that you have removed a
    > corresponding #include from any header, have you?

    asm-powerpc/elf.h included sched.h, and it in turn was being included by
    something else. With the cleanups in this patch, asm-powerpc/elf.h is
    no longer being included, so io-workarounds.c needs kernel/sched.h for a
    declaration of init_mm.

    Similarly with the others; they all failed to compile without linux/sched.h.

    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: 2007-06-29 07:35    [W:0.038 / U:47.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site