xen: use _PAGE_IOMAP in ioremap to do machine mappings
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 4 Feb 2010 22:46:34 +0000 (14:46 -0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 7 Jun 2010 18:32:33 +0000 (14:32 -0400)
commitc0011dbfce69467b23b08fb4a64c39a409a935fb
tree47ecf9ee630f58d49edd2fd18fdc0159eb486392
parente40152ee1e1c7a63f4777791863215e3faa37a86
xen: use _PAGE_IOMAP in ioremap to do machine mappings

In a Xen domain, ioremap operates on machine addresses, not
pseudo-physical addresses.  We use _PAGE_IOMAP to determine whether a
mapping is intended for machine addresses.

[ Impact: allow Xen domain to map real hardware ]

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/xen/page.h
arch/x86/xen/mmu.c