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 /arch/arm/xen/mm.c | |
parent | 922659ea771b3fd728149262c5ea15608fab9719 (diff) | |
download | linux-c9b6180dbf9ab3fef15ec5482997c99b0c762cd1.tar.gz linux-c9b6180dbf9ab3fef15ec5482997c99b0c762cd1.tar.bz2 linux-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 'arch/arm/xen/mm.c')
0 files changed, 0 insertions, 0 deletions