diff options
author | David Vrabel <david.vrabel@citrix.com> | 2014-01-08 14:01:01 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2014-09-23 13:36:20 +0000 |
commit | 7f2f88224517cdaad68b772b2a2095b87dc72886 (patch) | |
tree | 9bcedd214955d7f9712e5ae4498b5983857a5dcf /arch/x86/mm/init_64.c | |
parent | 31668511424110ad470315c6a63dec9a10f1a7ba (diff) | |
download | lwn-7f2f88224517cdaad68b772b2a2095b87dc72886.tar.gz lwn-7f2f88224517cdaad68b772b2a2095b87dc72886.zip |
x86/xen: do not use _PAGE_IOMAP PTE flag for I/O mappings
Since mfn_to_pfn() returns the correct PFN for identity mappings (as
used for MMIO regions), the use of _PAGE_IOMAP is not required in
pte_mfn_to_pfn().
Do not set the _PAGE_IOMAP flag in pte_pfn_to_mfn() and do not use it
in pte_mfn_to_pfn().
This will allow _PAGE_IOMAP to be removed, making it available for
future use.
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/mm/init_64.c')
0 files changed, 0 insertions, 0 deletions