diff options
-rw-r--r-- | arch/arm/mm/dma-mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 903dba064a03..170a116d1b29 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c | |||
@@ -1106,7 +1106,7 @@ static struct page **__iommu_alloc_buffer(struct device *dev, size_t size, | |||
1106 | int i = 0; | 1106 | int i = 0; |
1107 | 1107 | ||
1108 | if (array_size <= PAGE_SIZE) | 1108 | if (array_size <= PAGE_SIZE) |
1109 | pages = kzalloc(array_size, gfp); | 1109 | pages = kzalloc(array_size, GFP_KERNEL); |
1110 | else | 1110 | else |
1111 | pages = vzalloc(array_size); | 1111 | pages = vzalloc(array_size); |
1112 | if (!pages) | 1112 | if (!pages) |