提交 f7ae70a5 编写于 作者: C Christoph Hellwig 提交者: Joerg Roedel

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

We already do this in the caller.
Signed-off-by: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NJoerg Roedel <jroedel@suse.de>
上级 9cc0c2af
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册