ppc compile failure (__flush_icache_range etc undeclared)

3 messages, 3 authors, 2008-05-10 · open the first message on its own page

ppc compile failure (__flush_icache_range etc undeclared)

From: Meelis Roos <hidden>
Date: 2008-05-10 11:51:36

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)

Re: ppc compile failure (__flush_icache_range etc undeclared)

From: Josh Boyer <hidden>
Date: 2008-05-10 13:25:01

On Sat, 10 May 2008 14:51:27 +0300 (EEST)
Meelis Roos [off-list ref] 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

Re: ppc compile failure (__flush_icache_range etc undeclared)

From: Segher Boessenkool <hidden>
Date: 2008-05-10 13:26:30

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-dev/2008-May/056010.html


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help