mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
bb279475db
commit
f37f7f33d5
1 changed files with 13 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue