powerpc: Remove use of 4level-fixup.h for ppc32

David Gibson david at gibson.dropbear.id.au
Tue May 8 12:46:33 EST 2007


On Mon, May 07, 2007 at 10:24:41AM +0200, Christoph Hellwig wrote:
> On Mon, May 07, 2007 at 03:35:27PM +1000, David Gibson wrote:
> > ===================================================================
> > --- working-2.6.orig/include/asm-powerpc/page.h	2007-05-07 14:24:21.000000000 +1000
> > +++ working-2.6/include/asm-powerpc/page.h	2007-05-07 15:30:04.000000000 +1000
> > @@ -121,9 +121,11 @@ typedef struct { pte_t pte; } real_pte_t
> >  #endif
> >  
> >  /* PMD level */
> > +#ifdef CONFIG_PPC64
> >  typedef struct { unsigned long pmd; } pmd_t;
> >  #define pmd_val(x)	((x).pmd)
> >  #define __pmd(x)	((pmd_t) { (x) })
> > +#endif
> >  
> >  /* PUD level exusts only on 4k pages */
> >  #if defined(CONFIG_PPC64) && !defined(CONFIG_PPC_64K_PAGES)
> > @@ -159,9 +161,11 @@ typedef unsigned long real_pte_t;
> >  #endif
> >  
> >  
> > +#if defined (CONFIG_PPC64)
> >  typedef unsigned long pmd_t;
> >  #define pmd_val(x)	(x)
> >  #define __pmd(x)	(x)
> > +#endif
> 
> This should be one bit CONFIG_PPC64 block with a nested !CONFIG_PPC_64K_PAGES
> block inbetween.

Ok, done.  Resending shortly.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list