powerpc: Revise PPC44x MMU code for arch/powerpc

Josh Boyer jwboyer at linux.vnet.ibm.com
Mon Apr 30 21:01:08 EST 2007


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

<snip>

> +#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.

josh



More information about the Linuxppc-dev mailing list