x86/xen: do not use _PAGE_IOMAP in xen_remap_domain_mfn_range()
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 8 Jan 2014 14:00:01 +0000 (14:00 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 15 May 2014 15:16:40 +0000 (16:16 +0100)
commitf59c5145dc6a079b14b349c388d44362eb813cdf
treeff2b459c8fe1b90a38ee6e86f69aa3dc49db8651
parent25b884a83d487fd62c3de7ac1ab5549979188482
x86/xen: do not use _PAGE_IOMAP in xen_remap_domain_mfn_range()

_PAGE_IOMAP is used in xen_remap_domain_mfn_range() to prevent the
pfn_pte() call in remap_area_mfn_pte_fn() from using the p2m to translate
the MFN.  If mfn_pte() is used instead, the p2m look up is avoided and
the use of _PAGE_IOMAP is no longer needed.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/mmu.c