mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-20 14:16:02 +00:00
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>
This commit is contained in:
parent
9cc0c2af8d
commit
f7ae70a5e3
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue