Hi Geert,

On Sat, 16 Nov 2013 21:43:32 +0100 Geert Uytterhoeven <ge...@linux-m68k.org> 
wrote:
>
> On Thu, Nov 7, 2013 at 3:14 PM, Kirill A. Shutemov
> <kirill.shute...@linux.intel.com> wrote:
> > --- a/include/linux/mm.h
> > +++ b/include/linux/mm.h
> 
> > +static inline void pgtable_init(void)
> > +{
> > +       ptlock_cache_init();
> > +       pgtable_cache_init();
> > +}
> 
> sparc64defconfig:
> 
> include/linux/mm.h:1391:2: error: implicit declaration of function
> 'pgtable_cache_init' [-Werror=implicit-function-declaration]
> arch/sparc/include/asm/pgtable_64.h:978:13: error: conflicting types
> for 'pgtable_cache_init' [-Werror]
> 
> http://kisskb.ellerman.id.au/kisskb/buildresult/10040274/
> 
> Has this been in -next?

No, it hasn't :-(

> Probably it needs <asm/pgtable.h>.

Actually it is because on sparc64, asm/tlbflush_64.h includes linux/mm.h
(and asm/pgtable.h -> asm/pgtable_64.h -> asm/tlbflush.h ->
asm/tlbflush_64.h)

(see my other error report and I have reverted that commit from
linux-next today.)

-- 
Cheers,
Stephen Rothwell                    s...@canb.auug.org.au

Attachment: pgpnQpUStecIF.pgp
Description: PGP signature

Reply via email to