[PATCH] powerpc: Fix 64K page size support for PPC44x

Alistair Popple alistair at popple.id.au
Thu Oct 17 16:47:31 EST 2013


On Thu, 17 Oct 2013 10:55:25 Aneesh Kumar K.V wrote:
> Alistair Popple <alistair at popple.id.au> writes:

> > diff --git a/arch/powerpc/include/asm/page.h
> > b/arch/powerpc/include/asm/page.h index b9f4262..b142d58 100644
> > --- a/arch/powerpc/include/asm/page.h
> > +++ b/arch/powerpc/include/asm/page.h
> > @@ -403,7 +403,7 @@ void arch_free_page(struct page *page, int order);
> > 
> >  struct vm_area_struct;
> > 
> > -#ifdef CONFIG_PPC_64K_PAGES
> > +#if defined(CONFIG_PPC_64K_PAGES) && defined(PPC64)
> 
>                                                ^^^ CONFIG_PPC64 ?

Yes, of course it should be. Thanks for picking that up - I'll send an updated 
patch.

> >  typedef pte_t *pgtable_t;
> >  #else
> >  typedef struct page *pgtable_t;
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev


More information about the Linuxppc-dev mailing list