Difference between ioremap() and phy_to_virt() Kernel function

Arnd Bergmann arnd at arndb.de
Tue Oct 23 19:11:42 EST 2007

On Tuesday 23 October 2007, Misbah khan wrote:
> But i wish to know that could i use phy_to_virt() function in place io
> ioremap() ?????

Sorry to disappoint you there, but you can't.

> And could you give me an example where we could use phy_to_virt().

Not really, I can't think of any correct use of phys_to_virt on powerpc.

	Arnd <><

More information about the Linuxppc-embedded mailing list