mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
Revert "iommu/amd: Pass gfp flags to iommu_map_page() in amd_iommu_map()"
This reverts commit 8b47e324af which is
commit 3057fb9377eb5e73386dd0d8804bf72bdd23e391 upstream.
It is needed to be reverted as a dependent change on it is being
reverted to preserve the Android kernel abi.
Bug: 161946584
Change-Id: Ida9dc39ce7faf2a33aae9bde9741fdf25e2f0303
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
bbf1c13935
commit
7f7f83ce87
1 changed files with 1 additions and 1 deletions
|
|
@ -3114,7 +3114,7 @@ static int amd_iommu_map(struct iommu_domain *dom, unsigned long iova,
|
|||
prot |= IOMMU_PROT_IW;
|
||||
|
||||
mutex_lock(&domain->api_lock);
|
||||
ret = iommu_map_page(domain, iova, paddr, page_size, prot, gfp);
|
||||
ret = iommu_map_page(domain, iova, paddr, page_size, prot, GFP_KERNEL);
|
||||
mutex_unlock(&domain->api_lock);
|
||||
|
||||
domain_flush_np_cache(domain, iova, page_size);
|
||||
|
|
|
|||
Loading…
Reference in a new issue