get_pteptr()

David Gibson david at gibson.dropbear.id.au
Thu Jun 13 17:51:49 EST 2002


On Thu, Jun 13, 2002 at 03:29:57AM -0400, Dan Malek wrote:
> David Gibson wrote:
>
> >Do you mean get_pteptr() or iopa()?
>
> In iopa().  Just put an #ifdef in there for 4xx that does addr - KERNELBASE,
> just like virt_to_bus/phys does for other processors (except 8xx).

Well, if we were going to do that then we might as well just pull 4xx
from the list of CONFIGs for which virt_to_bus() calls iopa() in the
first place.  The only other places that iopa() is called are 8xx
specific anyway.

--
David Gibson			| For every complex problem there is a
david at gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list