Re: [PATCH] implicit declaration of function `page_cache_release'
From: Benoit Boissinot
Date: Fri Aug 05 2005 - 14:24:03 EST
On 8/5/05, Olaf Hering <olh@xxxxxxx> wrote:
> On Fri, Aug 05, Benoit Boissinot wrote:
>
> > On 7/8/05, Olaf Hering <olh@xxxxxxx> wrote:
> > >
> > > In file included from include2/asm/tlb.h:31,
> > > from linux-2.6.13-rc2-olh/arch/ppc64/kernel/pSeries_lpar.c:37:
> > > linux-2.6.13-rc2-olh/include/asm-generic/tlb.h: In function `tlb_flush_mmu':
> > > linux-2.6.13-rc2-olh/include/asm-generic/tlb.h:77: warning: implicit declaration of function `release_pages'
> > > linux-2.6.13-rc2-olh/include/asm-generic/tlb.h: In function `tlb_remove_page':
> > > linux-2.6.13-rc2-olh/include/asm-generic/tlb.h:117: warning: implicit declaration of function `page_cache_release'
> > >
> > This went in 2.6.13-rc3 (commit
> > 542d1c88bd7f73e2e59d41b12e4a9041deea89e4), and broke sparc compilation
> > because of the following circular dependency:
> > asm-sparc/pgtable include linux/swap.h
>
> Why does it need swap.h? Do the users of pgtable.h rely on swap.h?
>
sparc is the only architecture to do that, it looks like it uses it
for boot time linking (BTFIXUP_*). I don't know anything about sparc,
so i can't fix it.
(adding sparclinux@xxxxxxxxxxxxxxx to the cc list)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/