Subject: Re: Difference between ioremap() and phy_to_virt() Kernel function

From: Arnd Bergmann <[email-masked]>
Date: Tue, 23 Oct 2007 11:11:42 +0200

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 <><