Re: [patch 4/4] Xen core patch : /dev/mem calls io_remap_page_range

From: Dave Hansen
Date: Wed Nov 17 2004 - 20:27:30 EST


On Wed, 2004-11-17 at 17:05, Ian Pratt wrote:
> If there really are no uses, an alternative patch would be to
> introduce an ARCH_HAS_REMAP_PAGE_RANGE. Would this be preferable?

Well, first of all, remap_page_range() is now deprecated, so some of
this might not even be relevant. :)

My only worry is that you might want *all* calls to
remap_page/pfn_range() to be to io_remap_page/pfn_range() for your
arch. If this isn't the case, then there really isn't an issue. And,
yes, mem.c is a mess.

Thanks for the explanation.

-- Dave

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