public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: David Gibson <david@gibson•dropbear.id.au>
To: Christoph Hellwig <hch@lst•de>
Cc: linuxppc-dev@ozlabs•org, Paul Mackerras <paulus@samba•org>
Subject: Re: powerpc: Remove use of 4level-fixup.h for ppc32
Date: Tue, 8 May 2007 12:46:33 +1000	[thread overview]
Message-ID: <20070508024633.GA11340@localhost.localdomain> (raw)
In-Reply-To: <20070507082441.GA2795@lst.de>

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

  reply	other threads:[~2007-05-08  2:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-07  5:35 powerpc: Remove use of 4level-fixup.h for ppc32 David Gibson
2007-05-07  5:47 ` David Gibson
2007-05-07  8:24 ` Christoph Hellwig
2007-05-08  2:46   ` David Gibson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-05-08  2:46 David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070508024633.GA11340@localhost.localdomain \
    --to=david@gibson$(echo .)dropbear.id.au \
    --cc=hch@lst$(echo .)de \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=paulus@samba$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox