summaryrefslogtreecommitdiffstats
path: root/net/sched/em_ipset.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-25 08:50:35 +0100
committerChristoph Hellwig <hch@lst.de>2019-01-04 09:02:17 +0100
commit2e05ea5cdc1ac55d9ef678ed5ea6c38acf7fd2a3 (patch)
treee88e6506cf6ad38bd2ad3d764a20290dbf0b6818 /net/sched/em_ipset.c
parent96d4f267e40f9509e8a66e2b39e8b95655617693 (diff)
downloadlinux-2e05ea5cdc1ac55d9ef678ed5ea6c38acf7fd2a3.tar.bz2
dma-mapping: implement dma_map_single_attrs using dma_map_page_attrs
And also switch the way we implement the unmap side around to stay consistent. This ensures dma-debug works again because it records which function we used for mapping to ensure it is also used for unmapping, and also reduces further code duplication. Last but not least this also officially allows calling dma_sync_single_* for mappings created using dma_map_page, which is perfectly fine given that the sync calls only take a dma_addr_t, but not a virtual address or struct page. Fixes: 7f0fee242e ("dma-mapping: merge dma_unmap_page_attrs and dma_unmap_single_attrs") Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Diffstat (limited to 'net/sched/em_ipset.c')
0 files changed, 0 insertions, 0 deletions