|
@@ -1106,7 +1106,7 @@ static struct page **__iommu_alloc_buffer(struct device *dev, size_t size,
|
|
int i = 0;
|
|
int i = 0;
|
|
|
|
|
|
if (array_size <= PAGE_SIZE)
|
|
if (array_size <= PAGE_SIZE)
|
|
- pages = kzalloc(array_size, gfp);
|
|
|
|
|
|
+ pages = kzalloc(array_size, GFP_KERNEL);
|
|
else
|
|
else
|
|
pages = vzalloc(array_size);
|
|
pages = vzalloc(array_size);
|
|
if (!pages)
|
|
if (!pages)
|