Skip to contentSkip to conversation

ppc compile failure (__flush_icache_range etc undeclared)

DISCUSSION Meelis Roos 3 participants 3 messages May 10, 2008

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
Meelis Roos ([email protected])
#1 lore raw
Quoted 1 line · On Sat, 10 May 2008 14:51:27 +0300 (EEST) Meelis Roos <[email protected]> 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