diff options
author | Joerg Roedel <jroedel@suse.de> | 2016-07-08 12:47:22 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-07-13 13:48:35 +0300 |
commit | f37f7f33d561901d599e98a72bbf44af1f162732 (patch) | |
tree | 2e6a3a9faf832931f46cc353fabe84cc46c9bb04 /drivers/md/dm-cache-policy.c | |
parent | bb279475db4d0bb07e4dbc99e060362b9f3b5093 (diff) | |
download | linux-f37f7f33d561901d599e98a72bbf44af1f162732.tar.xz |
iommu/amd: Introduce dir2prot() helper
This function converts dma_data_direction to
iommu-protection flags. This will be needed on multiple
places in the code, so this will save some code.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/md/dm-cache-policy.c')
0 files changed, 0 insertions, 0 deletions