diff options
author | Christoph Hellwig <hch@lst.de> | 2019-04-10 12:14:08 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-04-11 11:46:34 -0400 |
commit | f7ae70a5e347f7a314e266c66c67876adbab3245 (patch) | |
tree | afc2050b9a2d979b900487d510e8c21cbeff4afc | |
parent | 9cc0c2af8d0387f3f99572bd7fe15ab41eb89bb9 (diff) |
iommu/vt-d: Don't clear GFP_DMA and GFP_DMA32 flags
We already do this in the caller.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
-rw-r--r-- | drivers/iommu/intel-iommu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index 1b7dd11e5581..599a25809440 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c | |||
@@ -3790,7 +3790,6 @@ static void *intel_alloc_coherent(struct device *dev, size_t size, | |||
3790 | 3790 | ||
3791 | size = PAGE_ALIGN(size); | 3791 | size = PAGE_ALIGN(size); |
3792 | order = get_order(size); | 3792 | order = get_order(size); |
3793 | flags &= ~(GFP_DMA | GFP_DMA32); | ||
3794 | 3793 | ||
3795 | if (gfpflags_allow_blocking(flags)) { | 3794 | if (gfpflags_allow_blocking(flags)) { |
3796 | unsigned int count = size >> PAGE_SHIFT; | 3795 | unsigned int count = size >> PAGE_SHIFT; |