powerpc: Revise PPC44x MMU code for arch/powerpc
dwg at au1.ibm.com
Mon Apr 30 21:15:51 EST 2007
On Mon, Apr 30, 2007 at 06:01:08AM -0500, Josh Boyer wrote:
> On Mon, Apr 30, 2007 at 02:06:25PM +1000, David Gibson wrote:
> > Index: working-2.6/include/asm-powerpc/mmu-44x.h
> > ===================================================================
> > --- /dev/null 1970-01-01 00:00:00.000000000 +0000
> > +++ working-2.6/include/asm-powerpc/mmu-44x.h 2007-04-30 14:05:35.000000000 +1000
> > +#ifndef __ASSEMBLY__
> > +
> > +typedef unsigned long long phys_addr_t;
> > +
> > +extern phys_addr_t fixup_bigphys_addr(phys_addr_t, phys_addr_t);
> This function can likely get removed entirely in arch/powerpc. ioremap can
> already take a 64 bit address and do the correct thing, so I'm not sure it's
> even needed anymore.
Right now it's invoked from common code in the 32-bit pgtable.h
though. It'll need some cleanup and factorization in other places to
get rid of this; one thing at a time.
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_!
More information about the Linuxppc-dev