diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-26 11:23:44 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-09-11 12:43:27 +0200 |
commit | c9b6180dbf9ab3fef15ec5482997c99b0c762cd1 (patch) | |
tree | efa80f37e1046ae17172b1736b67c9f0b0aa5f23 /fs/binfmt_script.c | |
parent | swiotlb-xen: remove xen_swiotlb_dma_mmap and xen_swiotlb_dma_get_sgtable (diff) | |
download | linux-dev-c9b6180dbf9ab3fef15ec5482997c99b0c762cd1.tar.xz linux-dev-c9b6180dbf9ab3fef15ec5482997c99b0c762cd1.zip |
swiotlb-xen: use the same foreign page check everywhere
xen_dma_map_page uses a different and more complicated check for foreign
pages than the other three cache maintainance helpers. Switch it to the
simpler pfn_valid method a well, and document the scheme with a single
improved comment in xen_dma_map_page.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions