Re: [4/7] Xen VMM patch set : /dev/mem io_remap_page_range for CONFIG_XEN

From: William Lee Irwin III
Date: Fri Nov 19 2004 - 21:11:21 EST


On Fri, Nov 19, 2004 at 11:22:51PM +0000, Ian Pratt wrote:
> This patch modifies /dev/mem to call io_remap_page_range rather than
> remap_pfn_range under CONFIG_XEN. This is required because in arch
> xen we need to use a different function for mapping MMIO space vs
> mapping psueudo-physical memory. This allows the X server and other
> programs that use /dev/mem for MMIO to work under Xen.
> Signed-off-by: ian.pratt@xxxxxxxxxxxx

This is safe from the io_remap_page_range() calling convention skew.
All good.


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