Skip to content
Commit f37f7f33 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

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: default avatarJoerg Roedel <jroedel@suse.de>
parent bb279475
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment