Re: [PATCH] Xen/i386 cleanups - AGP bus/phys cleanups

From: Rik van Riel
Date: Wed Mar 16 2005 - 23:59:27 EST


On Thu, 17 Mar 2005, Christoph Hellwig wrote:
> On Wed, Mar 16, 2005 at 06:55:13PM -0500, Rik van Riel wrote:
> > Thing is, the rest of the kernel uses virt_to_phys for
> > two different things. Only one of them has to do with
> > the real physical address, the other is about getting
> > the page frame number.
>
> The latter usage has been converted to page_to_pfn(virt_to_page(v))
> in the places I checked.

Nice. Maybe then virt_to_phys can do the right thing (for AGP)
in Xen without other stuff breaking ?

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/