get_pteptr prototype

Hollis Blanchard hollis at
Thu Jan 9 11:11:25 EST 2003

On Wed, 2003-01-08 at 17:49, David Gibson wrote:
> On Wed, Jan 08, 2003 at 09:48:48AM -0600, Hollis Blanchard wrote:
> > It's simply a wrapper around successive pte/pmd/pgd_offset calls, with
> > some error checking. Are you saying those calls are not the correct way
> > to get the PTE pointer for an address?
> Trouble is that this will break badly in 2.5 where we use large-page
> entries for the lowmem mapping.

I'm happy to change it to something 2.5-friendly if someone can suggest

Alternatively I can add 405LP to the XMON/KGDB/BDI2000 list of ifdefs
that map the whole kernel writable, which would be overkill but avoid
adding PTE manipulations.

PowerPC Linux
IBM Linux Technology Center

** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list