Skip to content
Commit 8d59b5f2 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-mapping: simplify the dma_sync_single_range_for_{cpu,device} implementation



We can just call the regular calls after adding offset the the address instead
of reimplementing them.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarJesper Dangaard Brouer <brouer@redhat.com>
Tested-by: default avatarJesper Dangaard Brouer <brouer@redhat.com>
Tested-by: default avatarTony Luck <tony.luck@intel.com>
parent 20b105fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment