ppc compile failure (__flush_icache_range etc undeclared) - Kernel

This is a discussion on ppc compile failure (__flush_icache_range etc undeclared) - Kernel ; Tried 2.6.26-rc1+git on ppc (arch/ppc, PReP subarch) and got this: arch/ppc/kernel/ppc_ksyms.c: At top level: arch/ppc/kernel/ppc_ksyms.c:152: error: '__flush_icache_range' undeclared here (not in a function) arch/ppc/kernel/ppc_ksyms.c:152: warning: type defaults to 'int' in declaration of '__flush_icache_range' arch/ppc/kernel/ppc_ksyms.c:153: error: 'flush_dcache_range' undeclared here (not in ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: ppc compile failure (__flush_icache_range etc undeclared)

  1. ppc compile failure (__flush_icache_range etc undeclared)

    Tried 2.6.26-rc1+git on ppc (arch/ppc, PReP subarch) and got this:

    arch/ppc/kernel/ppc_ksyms.c: At top level:
    arch/ppc/kernel/ppc_ksyms.c:152: error: '__flush_icache_range' undeclared here (not in a function)
    arch/ppc/kernel/ppc_ksyms.c:152: warning: type defaults to 'int' in declaration of '__flush_icache_range'
    arch/ppc/kernel/ppc_ksyms.c:153: error: 'flush_dcache_range' undeclared here (not in a function)
    arch/ppc/kernel/ppc_ksyms.c:153: warning: type defaults to 'int' in declaration of 'flush_dcache_range'
    arch/ppc/kernel/ppc_ksyms.c:154: error: 'flush_icache_user_range' undeclared here (not in a function)
    arch/ppc/kernel/ppc_ksyms.c:154: warning: type defaults to 'int' in declaration of 'flush_icache_user_range'
    arch/ppc/kernel/ppc_ksyms.c:155: error: 'flush_dcache_page' undeclared here (not in a function)
    arch/ppc/kernel/ppc_ksyms.c:155: warning: type defaults to 'int' in declaration of 'flush_dcache_page'
    make[1]: *** [arch/ppc/kernel/ppc_ksyms.o] Error 1


    --
    Meelis Roos (mroos@linux.ee)
    --
    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/

  2. Re: ppc compile failure (__flush_icache_range etc undeclared)

    On Sat, 10 May 2008 14:51:27 +0300 (EEST)
    Meelis Roos wrote:

    > Tried 2.6.26-rc1+git on ppc (arch/ppc, PReP subarch) and got this:


    Segher sent patches to fix this earlier this week. You can find them
    here:

    http://patchwork.ozlabs.org/linuxppc/patch?id=18348
    http://patchwork.ozlabs.org/linuxppc/patch?id=18346
    http://patchwork.ozlabs.org/linuxppc/patch?id=18347

    People keep breaking arch/ppc and it seems there's little motivation to
    fix it since it's going away in a month.

    josh
    --
    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/

  3. Re: ppc compile failure (__flush_icache_range etc undeclared)

    > Tried 2.6.26-rc1+git on ppc (arch/ppc, PReP subarch) and got this:
    >
    > arch/ppc/kernel/ppc_ksyms.c: At top level:
    > arch/ppc/kernel/ppc_ksyms.c:152: error: '__flush_icache_range'
    > undeclared here (not in a function)


    That's fixed by [2/3] in
    http://ozlabs.org/pipermail/linuxppc...ay/056010.html


    Segher

    --
    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/

+ Reply to Thread