Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7ae70a5 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Joerg Roedel
Browse files

iommu/vt-d: Don't clear GFP_DMA and GFP_DMA32 flags



We already do this in the caller.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 9cc0c2af
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3790,7 +3790,6 @@ static void *intel_alloc_coherent(struct device *dev, size_t size,

	size = PAGE_ALIGN(size);
	order = get_order(size);
	flags &= ~(GFP_DMA | GFP_DMA32);

	if (gfpflags_allow_blocking(flags)) {
		unsigned int count = size >> PAGE_SHIFT;