projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and...
[cascardo/linux.git]
/
drivers
/
iommu
/
intel-iommu.c
diff --git
a/drivers/iommu/intel-iommu.c
b/drivers/iommu/intel-iommu.c
index
7cf80c1
..
f1042da
100644
(file)
--- a/
drivers/iommu/intel-iommu.c
+++ b/
drivers/iommu/intel-iommu.c
@@
-3647,7
+3647,7
@@
static void *intel_alloc_coherent(struct device *dev, size_t size,
flags |= GFP_DMA32;
}
- if (
flags & __GFP_WAIT
) {
+ if (
gfpflags_allow_blocking(flags)
) {
unsigned int count = size >> PAGE_SHIFT;
page = dma_alloc_from_contiguous(dev, count, order);